Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1058995

    Hello –
    I’m using stand alone icons to link to other areas of my site, but they don’t seem to react to hover indicating they are linked. Is there a way to do this? I’m afraid it won’t be obvious they are links if they don’t change color on hover.

    Thanks

    #1059199

    Hey KarenBH,

    Please provide a link to the site/page in question so we can look into this further.

    Best regards,
    Jordan Shannon

    #1059216

    Hi Jordan,

    Privately sending a test page as I’m actively working on the other pages.

    I’ve got a work around by putting the link on the column rather than the icon so I get a faint hover effect. This is workable except when I want several icons in one column. If this is what I have to use, I would like it to be more pronounced.

    I see on this test page that there is a little burst reaction on the one on the gray background. If this is the hover effect, how do I change it’s color so it’s visible on the white background, and why doesn’t it show on the gray background on my live page – New Admissions?

    I also tried a custom CSS class that made the background change color on hover, but I’m not very good at CSS, so it broke the customization on my logo.

    Basically, I want to use the icons instead of buttons so I need it to be really obvious to the user that those are clickable links.

    The icons also get just a little shaved off on the bottom and right sides sometimes, but not always. Is there a fix for this?

    I’ve gone ahead and updated the Kreisi user account on my admin site with a new password to give you access – I’ve read enough in the forum to know that’s a likely next step.

    Thanks!
    Karen

    #1059236

    Hi,
    For your icon buttons, we can create many types of hover effects, please see these examples or these.
    I thought that having colors invert and pulse & grow a little might be nice.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top.page-id-3645 .av-icon-char:hover {
        background: #186F00;
        color: #fff !important;
        -webkit-animation: pulse ease-in-out 2s infinite;
        border-radius: 50%;
    }
    @-webkit-keyframes pulse {
        0% {
            -webkit-transform: scale(1);
        }
        51% {
            -webkit-transform: scale(1.1);
        }
        100% {
            -webkit-transform: scale(1);
        }
    }
    

    this css will only work on the test page so it won’t interfere with other pages, please let us know if you would like to use it on a different page.

    Best regards,
    Mike

    #1059262

    Mike –
    This is amazing, thank you so much.
    I’m guessing to apply to all pages I just take out .page-id-3645?
    And I like the pulse, but if I decided to take it out, just remove
    -webkit-animation: pulse ease-in-out 2s infinite;
    and
    }
    @-webkit-keyframes pulse {
    0% {
    -webkit-transform: scale(1);
    }
    51% {
    -webkit-transform: scale(1.1);
    }
    100% {
    -webkit-transform: scale(1);
    }
    }`

    I’m not clear on what border-radius: 50%; does. Is that related to the pulse or is it cleaning up the shaved edges of the icons that I mentioned?

    And seriously – thank you sooooooo much – super excited about this!

    Karen

    #1059267

    Hi,
    Please try:

    #top .av-icon-char:hover {
        background: #186F00 !important; 
        color: #fff !important;
    }

    but if you have some of those icons on other pages that are not links, you may want to add a custom class so those won’t be triggered. Please let us know it becomes an issue.

    Best regards,
    Mike

    #1059875

    Thanks, Mike – works like a charm!

    Karen

    #1059885

    Hi,
    Glad to hear, I assume we can close this now, but I like to ask first. Shall we close this then?

    Best regards,
    Mike

    #1060015

    Actually, Mike, there is one more thing – in several places my large icon circles appear a little shaved top or bottom. It’s inconsistent and sporadic – the best things to try to debug!

    Some links below where I’m seeing it now. Occurs most often on the bottom, but sometimes also on the right. Maybe a padding issue?

    #1060155

    Here’s a screenshot of the shaving off of the circle around the icon:
    https://drive.google.com/file/d/1RQxL78TeJyRUSjAWuOVGbplIiFLKPQGS/view?usp=sharing

    Hoping re-posting before your reply doesn’t mess up my order in the queue!

    #1060334

    Hi,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .av_font_icon.av-icon-style-border a.av-icon-char {
     outline: solid transparent 3px !important; 
     overflow: visible !important; 
    }

    Please clear your browser cache and check.

    Best regards,
    Mike

    #1060338

    You are the best, Mike. That worked beautifully.

    You can mark the ticked closed now.

    Thank you so much for helping make my site great!

    Karen

    #1060512

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Make Icon change color on hover’ is closed to new replies.