• lauratraveler

    (@lauratraveler)


    Hi, I’m trying to set the button style but nothing happens. I went to Appearance >> Customize >> Buttons >> Theme button and set the button background color and border radius (3px). Nevertheless, the buttons I insert inside posts and pages (Gutenberg block), are all super rounded (more like 25px radius) and don’t change color on hover. What am I missing? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • TUT Support

    (@phpexpert21)

    Hello @lauratraveler,

    Please share the site url so we can help you with custom css as per the need.

    Kind regards,

    Manoj

    Hi @lauratraveler ,

    If you have used the Gutenberg button, then the theme button color or style would not inherit as Gutenberg has its own set of styling.

    But if you wish to have the theme button color and styling to be working, then you should use the HTML button instead if the Gutenberg button. Here is the screenshot that will help you in doing so.

    Hope this helps!

    Regards,
    Deepak

    Thread Starter lauratraveler

    (@lauratraveler)

    Thanks for clarifying @brainstormteam
    One other thing regarding the buttons… I get this HTML error for the Primary Header Button

    The element button must not appear as a descendant of the a element.

    The code used by the theme looks like this <a class="ast-custom-button-link" href="link"><button class=ast-custom-button>text</button></a> and apperantly the a should be inside the button and not the other way around.

    How can I fix this? Thanks!

    Hi @lauratraveler ,

    That’s strange! I have replicated the same on my side, and soon we would fix this in our theme as well.

    Meanwhile, you can use text/HTML option in the header and input the HTML Button in there.

    Regards,
    Deepak

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Button style’ is closed to new replies.