Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19116

    Hi guys,

    I was wondering where I go to change the color of the text in the buttons. In the dark design the red buttons with light text are still too hard to read. I was also wondering if there was a way to get callout buttons to open in a new tab?

    Thanks!

    #102276

    Hi,

    Can you give us a link to your website so that we can give you a css solution?

    To open the callout button in a new tab, open includes > helper-template-dynamic.php and find this code

    $button = "<a class='big_button avia-button button' href='".avia_get_link($element['saved_value'][0], 'dynamic_text_button_')."'>".$dynamic_text_button."</a>";

    Replace it with

    button = "<a target='_blank' class='big_button avia-button button' href='".avia_get_link($element['saved_value'][0], 'dynamic_text_button_')."'>".$dynamic_text_button."</a>";

    Regards,

    Ismael

    #102277

    Hi Ismael,

    The link to my site is http://www.firesafetysales.com/home.

    Thanks for your help.

    #102278

    Hey Fire_Safety_Sales,

    The only buttons I see are the big buttons and you can change their color by adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    #top .big_button.avia-button.button {
    color: #000;
    }

    Regards,

    Devin

    #102279

    Is there a way to just change the text color of these buttons?

    Thanks.

    #102280

    The above css is exactly that. It targets those big buttons and changes the color of the text within them.

    If you mean something else, can you make a screen shot and point it out or link directly to the page with an example and point out the exact button/item.

    #102281

    Thanks for the help Devin. Worked great.

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

The topic ‘Changing the color of buttons/Getting Callout Buttons to Open in New Tabs’ is closed to new replies.