New Landing How can we help? Themeforest Theme Support Dante Using Extra Class for Font Change

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #205111
    Dieder88
    Member
    Post count: 4

    Hello,

    I am looking to use the extra class name spot on a text box to change the font to a different font family. I am more newer to this and looking on how to make this work.

    I currently have the following in my custom css file

    #scriptheading {
    font-family: ‘Old Standard TT’, ‘baskerville’, serif;
    font-style: italic;
    }

    and in the text box under Extra Class type i just put:

    scriptheading

    Is this correct? Just looking on how to make this work or get it set up correctly to change font family and potentially size.

    Thanks!

    #205158
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    The # is used for the Id’s of the html elements. For the classes it’s used the dot .

    Replace your code by this one, if it doesn’t work provide us the link to your page. Depending on the structure of the html the css rule below may be adjusted.

    .scriptheading {
    font-family: 'Old Standard TT', 'baskerville', serif;
    font-style: italic;
    }

    -Rui

    #205402
    Dieder88
    Member
    Post count: 4

    Hello,

    This work good. Only one problem. I have added the following code to try to increase the size of the script and am having no luck getting this to work correctly.

    Any thoughts here?

    .scriptheading {
    font-family: ‘Old Standard TT’, ‘baskerville’, serif;
    font-style: italic;
    font-size: 52px;
    color: #ffffff;
    }

    Thanks!

    #205405
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Need to see the page to inspect the code. You can provide it in a private reply.

    -Rui

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register