How to change hover of links in general

Discussion in 'ColorWay WordPress Theme' started by fraburio, Aug 8, 2016.

Tags:
Thread Status:
Not open for further replies.
  1. fraburio

    fraburio Member

    Joined:
    Jun 21, 2015
    Messages:
    31
    Likes Received:
    0
    Location:
    Germany
    What to do for changing hover color in general for all links (i.e. HTML A) ?
     
  2. priya

    priya Guest

    Hi,

    Greetings from InkThemes!

    Please paste the code given below in Custom CSS field (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    a:hover {
        color: red !important;
    }
    Note: change the color as per your interest.

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  3. fraburio

    fraburio Member

    Joined:
    Jun 21, 2015
    Messages:
    31
    Likes Received:
    0
    Location:
    Germany
    It is working, but I need a restriction that this hover color is NOT to be used in Menu.
    What does !important mean and when it is necessary to use ?
     
  4. priya

    priya Guest

    Hi,

    Could you please provide us 'URL' of your site so that we can better assist you?

    A rule that has the !important property will always be applied no matter where that rule appears in the CSS document.


    Hope you will understand..

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  5. fraburio

    fraburio Member

    Joined:
    Jun 21, 2015
    Messages:
    31
    Likes Received:
    0
    Location:
    Germany
  6. priya

    priya Guest

    Hi,

    You can use below code to set menu color as per your interest..
    Code:
    #menu li a:hover, #menu li.current_page_item a {
        background: #d15094 !important;
        color: red !important;
    }
    Change color accordingly..

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  7. fraburio

    fraburio Member

    Joined:
    Jun 21, 2015
    Messages:
    31
    Likes Received:
    0
    Location:
    Germany
    Thanks it's working fine ...
    just using given code without background as background is already set.
     
  8. priya

    priya Guest

    You're welcome..

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
Thread Status:
Not open for further replies.

Share This Page