css - Wordpress Blog page a:visited and category tags invisible 'white' -
i've built wordpress theme scratch style bootstrap navigation white text , brown text on selection - appears overiding a: visit , a: hover on i've tried add separate new class h1 tags on blog post page doesn't appear work i've used.
.h1blog{ font-size: 22px; font-family:"lato", arial, helvetica, sans serif; color:#674922; line-height:120%; } a.h1blog:link{ color: #674922; text-decoration: none; } a.h1blog:visited{ color: #666666; text-decoration: none; } any appreciated i've tried class styling against preset classes in wordpress doesn't work either?
http://creative-media.info/warringtonbonsai/latest-news-offers/
cheers
paul
here's problem:
<h1 class="h1blog"><a href="http://creative-media.info/warringtonbonsai/test-3/">test 3</a></h1> you have <h1> element h1blog class, containing <a> element you're trying style rule:
a.h1blog:link{ color: #674922; text-decoration: none; } that won't work, because <a> element doesn't have h1blog class applied it. try instead:
.h1blog a:link{ color: #674922; text-decoration: none; }
Comments
Post a Comment