Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #711217

    Hello, help me. I use TEXT BLOCK for 3 things on the site.

    1 – Title bar (within the pages)
    2 – Text paragraph
    3 – Description

    Each item above has its formatting with different font.

    I will use PLUGIN GOOGLE FONTS to customize the fonts (the fonts do not carry the code below). Can I use CUSTOM CSS CLASS to individualize the above items? How I do? Is there a simpler way?

    CODE I USE FOR ITEM 1 UP (do not load the font).
    /
    <P style = “font-family: ‘Oswald’, sans-serif font-size: 31px; text-align: center; letter-spacing: 3px; line-height: 1.7em; color: # 000000; ENPRO ENGINEERING AND PROJECTS </ p>

    /
    LINK
    (http://enpro.com.br/enproml03/a-enpro-engenharia-projetos)

    #711765

    Hey mleite1,

    Please try the following instead:

    <p style="font-family:'Oswald', sans-serif; font-size:31px; text-align:center; letter-spacing:3px; line-height:1.7em; color:#000;">ENPRO ENGINEERING AND PROJECTS</p>

    If you are looking to learn basic HTML and CSS there are great resources at w3schools.

    Best regards,
    Rikard

    #712821

    Rikard, thanks for the feedback. I used your code and did not load the font on my screen. Be yourself.

    LINK

    What could be happening?

    #712858

    Hi,

    It’s displaying Oswald on my end, if you want to make sure what font is being used you can try installing a plugin called WhatFont? in your browser. I’m not sure what browsers it’s available in but you can at least get it for Chrome.

    Best regards,
    Rikard

    #712877

    Rikard, in none of my 9 Macs here in the office does the screen load. Even in friends’ offices it also does not load.
    I do not know what to do.

    #712883

    On mobile and on tablet also does not load.

    #712951

    Hi,

    Please see screenshot in private.

    Best regards,
    Rikard

    #712957

    I just saw. Amazing. I do not know what to do then.

    Thanks Rikard.

    #713130

    Rikard, one more thing. On iphone and tablet how do you load these fonts?

    #713268

    Hi!

    Please refer to this post – http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/ to add additional Google fonts and do not use the plugin. Then you can choose the font in Enfold theme options and would work fine on all devices.

    Regards,
    Yigit

    #713294

    Yigit, I was confused. See if this will work. I want to add the Roboto Light font. See below.

    Add_filter ( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    Function avia_add_heading_font ($ fonts)
    {
    $ Fonts [ ‘Roboto Light’] = ‘Roboto Light: 400,700,400italic, 700italic’ ‘;
    $ Fonts [ ‘Roboto Condensed’] = ‘Roboto Condensed: 400,700,400italic, 700italic’;
    Return $ fonts;
    }

    #713295

    This code I use for what?

    <Link href = “https://fonts.googleapis.com/css?family=Robot+Condensed&#8221; rel = “stylesheet”>

    #713621

    Hi!

    Please create a temporary admin login and post it here privately.
    Also, please once again elaborate on the exact changes you would like to make so we can apply them for you.

    Regards,
    Yigit

    #713692

    Yigit, thank you very much for your support. You are 10.

    I want to use the following sources on the site desktop and mobile/tablets:

    – PT Snas Narrow (regular and bold)
    – Roboto Condensed (light, regular and bold)
    – Open Sans Condensed (3 styles)
    – Roboto Slab (4 styles)

    Let me know what will be done for me to do the same thing on the other sites. I want to use default for other sites as well.

    #713806

    Hi,

    I have added the codes to your theme. Please use custom CSS codes to apply it to your selected elements as following

    .your-custom-text { font-family: 'Roboto Slab', serif!important; }

    Best regards,
    Yigit

    #714039

    Thank you Yigit. Did you put the other sources in the code? Where can I see this code? Is it in the FUNCTIONS.PHP file? Which lines?

    #714042

    Hey!

    You can find the code i added in the bottom of functions.php file in Appearance > Editor :)

    Best regards,
    Yigit

    #714045

    Many thanks for the help Yigit.

    #714049

    Hey!

    Not at all! :)
    Let us know if you have any other questions or issues and enjoy your weekend!

    Regards,
    Yigit

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘TEXT BLOCK DIFFERENT FONT TYPE’ is closed to new replies.