Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #297823

    Hi I would like to change the button colour on my site content but nothing else. Which is why I will attempt to use quick css to achieve this rather then the settings styling panel.

    Okay it’s straight foward enough I just do this

    .button {
    background-color: #3d4352!important;
    border-color: #3d4352!important;
    }

    The problem is when I do this I loose the hover effect. Normally when I hover over a button its background colour gradually goes lighter. But when I set its colour via css it fails. How can I reproduce this effect via the css?

    #298096

    Hi!

    Try adding an hpver state to your code:

    .button:hover {
    background-color: red !important;
    border-color: red !important;
    }

    Best regards,
    Josue

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