[Resolved] How to make CTA buttons responsive?

Home Forums Support [Resolved] How to make CTA buttons responsive?

Home Forums Support How to make CTA buttons responsive?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1443910
    Jarno

    How can i make the standard button responsive when people hover on it?

    #1444013
    David
    Staff
    Customer Support

    Hi there,

    Can you explain a little more ? What should happen when the user hovers over it ?

    #1444018
    Jarno

    Like a change in color, so the visitor knows it’s a clickable box. Right now you only know the button works when you click on it.

    #1444064
    David
    Staff
    Customer Support

    You can set the Hover color in Customizer > Colors > Buttons.

    If that doesn’t work then the button is being added outside of the theme. Send me a link of the site so i can take a look.

    #1444156
    Jarno

    I linked my website.

    At the top you see a button. I changed the hover background color to yellow, but it’s the same when I hover over the button.

    What’s the problem here?

    #1444450
    Leo
    Staff
    Customer Support

    I’m not seeing a button in the linked page:
    https://www.screencast.com/t/lyfRWLlM8B

    Can you confirm?

    Please also disable your caching plugin so we can inspect the code better.

    Thanks!

    #1445224
    Jarno

    The green CTA button? Above the table of contents?

    #1445341
    David
    Staff
    Customer Support

    Try this CSS:

    .wp-block-button .has-vivid-green-cyan-background-color:hover {
        background-color: red;
        transition: background-color 0.3s;
    }

    If you want better styling control of buttons or special headings you may want to try our GenerateBlocks plugin:

    https://wordpress.org/plugins/generateblocks/

    #1445666
    Jarno

    I added the css with the plugin and it works. Thank you for the css code!

    Have a great day.

    #1445678
    David
    Staff
    Customer Support

    Glad to be of help

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