New Landing How can we help? Themeforest Theme Support Dante Adding a class to a specific modal button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #66366
    TheHomepage
    Member
    Post count: 97

    Hello,

    I have different black modal buttons ons my website. Though the last button opening the modal, has to be much bigger than all the rest of the black modal buttons. Hence I’m looking for a way to add a specific class to
    that last modal button in order to be able to give it a bigger font-size.

    How can I do that ?

    Website:
    http://www.myfoodprint.be (temporary waiting page)
    I can send you the logins privately.

    THANKS for helping

    #66395
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, does adding class=”yourclass” to the shortcode and the css

    .yourclass {font-size:50px!important; }
    

    work?

    Cheers

    #66473
    TheHomepage
    Member
    Post count: 97

    Hello,

    No, it does not work.
    It keeps on showing, 14px, because of this:

    a.sf-button.large {
    font-size: 14px;
    line-height: 26px;
    }

    And i cannnot change this, because then ALL the black buttons will change, I only want to change the last one.

    Thanks for helping

    #66710
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1. Please go to Admin -> Edit this button element in editor

    2. You will have option to put a special class to this button . Here you can put class myExtlarge
    and put css at Admin -> Theme Options -> Custom CSS => Here put this code and update options
    .myExtlarge{font-size:50px!important; }

    This will not effect any button .

    Thanks 🙂
    With Best Regards
    Swift Ideas

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 the following item
Login and Registration Log in · Register