New Landing How can we help? Cardinal Custom button color

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Cardinal
  • #215590
    George
    Member
    Post count: 235

    Hi there, just want some css or an extra class to change the color of a button on my site.

    https://events.com.au/us-masters-2016-packages/

    ‘Book now’ button to #2895f1

    Help much appreciated.

    #215591
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    a.sf-button.pink{
    background:#2895f1 !important;
    }

    Thanks
    Mohammad

    #215592
    George
    Member
    Post count: 235

    Hi Mohammed,

    Will this make every pink button blue?

    I just want one to turn blue.

    Thank you for the code, very quick.

    #215595
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove my last css code and use this code:-

    .spb_box_content .box-content-wrap a.sf-button.pink{
    background:#2895f1 !important;
    }

    Thanks
    Mohammad

    #215597
    George
    Member
    Post count: 235

    Hi Mohammed,

    Thanks for that code.

    Is there a class I can create and just assign it in the shortcode? Because if i don’t have a box content asset then the code wouldn’t work. I know in this instance there is a box content container, but sometimes it varies.

    #215599
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Yes, It is the best solution so you can apply it.
    Thanks
    Mohammad

Viewing 6 posts - 1 through 6 (of 6 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