Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1360206

    Hi there! I have a page set up with a text box inside of a column, and have placed two social media icons in there with links to each respective social account. I’m trying to program out a hover color for icons – but only ones that have links included with them (since there are other icons on this page that don’t link to anything, I don’t need/want hover colors applied to those).

    I tried the following code:

    /* icon hover color */
    .av-icon-char:hover {
    color: red!important;
    }

    But that applied to all the icons on the page, not only the linked icons.

    Note that I do have some complex rules for underlines on the site – in order to meet ADA compliance, all my text links are forced underlines while I’ve removed underlines from icons, buttons, etc.

    Thanks in advance!

    #1360226

    Hi kellyCraftMedia,

    Try using this CSS code:

    #top a.av-icon-char:hover {
        color: red;
    }

    Best regards,
    Nikko

    #1360375

    That worked, thank you so much!

    #1360387

    Hi kellyCraftMedia,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Icon hover color for links’ is closed to new replies.