Tagged: 

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

    Trying to create square buttons with a white outline and white text with no fill color and a hover color to center under text in three column layout

    Like this:
    (hosted on WPengine)

    And here is the Hover:

    #1218364

    Hi mnydish,

    Can you give us a link to the page that shows what you currently have? then we’ll try to supply with some CSS codes that should give that style.

    Best regards,
    Nikko

    #1218408

    Hi Nikko

    Please see this page http://smarttouch.wpengine.com
    Currently I have them set as text inside layout element boxes with a 1pt outline, which looks pretty good.
    Not sure how to add the white hover color like this and on mobile they are very wide so probably not the best solution.

    Thanks
    Mitch

    #1220340

    Hi,
    Sorry for the late reply, to give your buttons a white background on hover please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .flex_column.avia-link-column.avia-link-column-hover:hover {
    	background-color: #fff;
    }
    .flex_column.avia-link-column.avia-link-column-hover:hover > section > div > h4 {
    	color:#000 !important;
    }

    After applying the css, Please clear your browser cache and check.

    Best regards,
    Mike

    #1220536

    Thanks Mike

    One last question
    The entire hover is white, how do I get the font to match the background
    I tried replacing the 000 with #334a60, but that did not work

    thanks

    #1220782

    Hi,

    Please try this CSS as well:

    .flex_column.avia-link-column.avia-link-column-hover:hover h4 {
        color: #334a60;
    }

    Best regards,
    Rikard

    #1220827

    that worked thank you …except the font hover color appears black
    it there a way to make it the blue: #334a60

    Just tried matching the other code and that seems to work :

    .flex_column.avia-link-column.avia-link-column-hover:hover {
    background-color: #fff;
    }
    .flex_column.avia-link-column.avia-link-column-hover:hover > section > div > h4 {
    color:#000 !important;
    }
    .flex_column.avia-link-column.avia-link-column-hover:hover > section > div > h4 {
    color: #334a60 !important;
    }

    any issue with this
    changed h4 to > section > div > h4 and added !important after the color code

    Thanks!

    #1221081

    Hi,

    Thanks for the update, I can’t see it being black on my end. It’s the same colour as the background of the section; #334a60. Did you get it working? If not then please try loading the page in an incognito or private window to see if that helps.

    Best regards,
    Rikard

    #1221138

    Yes all set… thank you

    #1221541

    Hi,

    Great, I’m glad that you got it working and thanks for the update. I’ll go ahead and close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Button Style’ is closed to new replies.