New Landing How can we help? Themeforest Theme Support Dante Extra class won't change text properties

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #82948
    tonidomi
    Member
    Post count: 10

    Hi,

    first of all, thanks for the great theme and support.

    I’m sure this one is easy to solve: I’m trying to change some full width texts properties through extra classes.

    I’m using a child theme and adding simple classes with instructions such as:

    .midBlack{
    font-family: "Sofia",sans-serif !important;
    font-size: 24px !important; 
    color: #000000 !important;
    }

    If I apply the extra class to a full width text with a <p> formatted content, the font and color change correctly, but I can’t get the font-size to work. When I use the same code on an <h1> text, nothing works.

    Can you guys have a look and tell me what I’m doing wrong?
    http://www.delimbic.cat/serveis

    You’ll see the two 1/3 texts that I’m trying to change at the bottom of the page. One is a h1 and the other is a p text, both with the .midBlack class applied to it.

    thanks!

    #82963
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You need to be more specific with the class selector, it will need to be:

    .midBlack p, .midBlack h1 {
    font-family: "Sofia",sans-serif !important;
    font-size: 24px !important; 
    color: #000000 !important;
    }

    – Kyle

    #82995
    tonidomi
    Member
    Post count: 10

    Thanks Kyle, it worked like a charm ๐Ÿ˜‰

    #82997
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great! ๐Ÿ™‚

    – Kyle

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