Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1192241

    Hello, I would like to create a button with a white background with colored border and internal text + a rollover effect on mouseover.
    I can’t create this style from the advanced settings. Can you help me? Thank you

    https://www.massimomarnati.it/risparmio-e-protezione-famiglia/ under “saradanaio” – button “scopri di più”

    #1192469

    Hey Francesco,

    Go ahead and assign a class to the button, for example my-button, then you can use CSS like this:

    .my-button .avia-button {
      background: #fff;
      border: 3px solid red;
    }
    
    .my-button .avia-button:hover {
      background: green;
      color: #fff;
    }

    Best regards,
    Rikard

    #1192733
    This reply has been marked as private.
    #1192827

    Hi,

    Yes, that is correct. But don’t put it in the ID field, put it in the Class field, and without the dot at the beginning. This is what you should put in the Class field:

    my-button

    Best regards,
    Rikard

    #1192916
    This reply has been marked as private.
    #1193055

    Hi,

    That looks correct, is it working out for you?

    Best regards,
    Rikard

    #1193067
    This reply has been marked as private.
    #1193145

    Hi,
    Your css was correct but it had some hidden characters in it that I removed for you, this is the new css:

    #top #main .my-button .avia-button {
    	background: #fff;
    	border: 3px solid red !important;
            color: red !important;
    }
    #top #main .my-button .avia-button:hover {
    	background: green;
    	color: #fff !important;
    }

    Please clear your browser cache and check, and adjust the color to suit.

    Best regards,
    Mike

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