Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #237951

    I”ve built a site, http://www.onsitefacilities.ca with the enfold theme and I’m needing to use css to make all my links underlined, but neither the code placed in quickcss or the code placed in custom.css is making a difference. The code I’m using is:

    a:hover {text-decoration: underline;}

    Is there an “on button” somewhere I’m missing or what? Please help

    #237976

    Hey pirohmaniac!

    Your CSS needs to have higher priority than what the theme already has in place. So if you want every single link on the entire site to have an underline when hovered you could force what you have now with !important but that is probably not what you are looking for. (ref: http://www.w3.org/wiki/CSS/Training/Priority_level_of_selector).

    If you want it only in the typical content areas then you would need to do something more like this:

    
    #top .entry-content-wrapper a:hover {
      text-decoration: underline;
    }
    
    

    Regards,
    Devin

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