Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1348683
    seyedzia
    Participant

    Hello,

    I’m building my site by modifying the demo content called “integrity 4”.

    In the customizer they allow you to set up a background color, pattern or image.

    I have a pattern and image and i set up the background color as red.

    However, nothing changed and the default gray background that came with “integrity 4” keeps showing.

    I did every thing that you said in this topic to matias but nothing goes well
    shukamo.net
    persian wordpress 4.7.2
    last version X
    last version Cornerstone plugin

    Thanks

    #1348763
    Christopher
    Moderator

    Hi there,

    Please change background image under Page settings box.

    Hope it helps.

    #1352158
    seyedzia
    Participant

    dear christofer
    thank you for your responding but I’ve chosen restaurant theme so now I have no problem.
    Now Ihave a question.
    How can I add some Persian fonts to x theme to choose for head line or content and ets…?
    best regards

    #1352258
    Christian
    Moderator

    You need to check if your font supports Persian and then ensure you enable Google Fonts Subsets in Appearance > Customize > Typography (see attachment)

    Thanks.

    #1352430
    seyedzia
    Participant

    Dear christian
    I did not understand what you mean exactly!!!
    I have many Persian fonts in my pc that i can use them for example in Photoshop or in word.
    Is there any way to use them in body text or content text in X theme?

    #1352698
    Jade
    Moderator

    Hi there,

    First To make your font compatible to most browsers you may convert your font in http://www.font2web.com/
    download the files and upload them to fonts folder in your theme directory

    To do it in X put these line of codes in customizer >custom >css .

    
    @font-face {
        font-family: 'myFirstFont'; 
        src: url('http://www.yoursite.com/fonts/webfont.eot');
        src: url('http://www.yoursite.com/fonts/webfont.eot?#iefix') format('embedded-opentype'),
             url('http://www.yoursite.com/fonts/webfont.woff') format('woff'),
             url('http://www.yoursite.com/fonts/webfont.ttf') format('truetype'),
             url('http://www.yoursite.com/fonts/webfont.svg#webfontitalic') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    

    Don’t forget to change the url and font filename.

    You can then use the font like this

    
    div {
        font-family: myFirstFont;
    }
    

    Thanks

  • <script> jQuery(function($){ $("#no-reply-1348683 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>