Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1440999

    I noticed that link color is set in Theme options > General Settings > Primary Color.

    Unfortunately this changes text link color AND button color.

    I want my text link color to remain #00a2e8, how it’s set in theme options, but I want button text color to be different.

    If I’m using the button element of the page builder I can customize the color just fine.

    But I’m trying to add a button in a text widget in my blog sidebar using the shortcode:
    [av_button label='Try Programs' link='https://thedancedojo.com/product/free-trial/' link_target='' size='large' position='left' custom_bg='#FF9100' custom_font='#ffffff']

    The custom_bg color #FF9100 isn’t working and instead the default text link color that’s set in Theme options > General Settings > Primary Color is what displays.

    See blog page here: https://thedancedojo.com/blog/

    How can I set the custom background color of the button? Is a shortcode the only way?

    Thanks,
    Robin

    #1441023

    Hi Robin,

    You can drag a Button element to a new layout and then activate debug mode under Enfold->Layout Builder->Show advanced option in order to see the shortcodes for that button, then you can copy that shortcode to the location in question.

    Best regards,
    Rikard

    #1441065

    Rikard, I turned on debug mode but I don’t see any shortcodes for buttons when I add one in the advanced layout builder. Can you record your screen to show me?

    #1441075

    All good, solved it. I google searched and found I had to add some code to functions.php in child theme. Thanks!

    #1441136

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.