MultiformeIngegno
Member
Posted 1 year ago #
Hi everyone! :)
I'm having troubles styling a h1 when it's hovered. Here's the page:
scoutrophy.cngei.it/beta/news/
I want to style the:
<h1 class="entry-title"><a>Title</a></h1>
..thing to have it darkgren coloured when it's :hover.
I tried with:
.entry-title h1 a:hover { color:darkgreen }
or
h1.entry-title a:hover { color:darkgreen }
with no results... :(
Can you help me? :)
Try using Firefox with the Firebug add-on for this kind of CSS work.
http://getfirebug.com/
MultiformeIngegno
Member
Posted 1 year ago #
I tried just that.. XD
Still can't get it to work
somebody put the link color information into an online style into the template, and used the enforcement !important on it;
from the html of your site in the browser:
<h1 class="entry-title" style="margin-top: -20px; font-size: 18px;"><a style="color: black ! important;" href="http://scoutrophy.cngei.it/beta/e-forum/" rel="bookmark" title="Permanent Link to E-Forum">E-Forum</a></h1>
you need to edit the template, possibly loop.php in the child theme.