Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Anchor text hover effect (http://forum.bytesforall.com/showthread.php?t=4960)

gmatbootcamp Dec 21, 2009 10:59 AM

Anchor text hover effect
 
Hi,

I'm trying to link to text within a page, but the anchor text displays a hover effect as if it were a link itself?

I've read through this thread, but the css solution doesn't work for me

http://forum.bytesforall.com/showthr...ghlight=anchor

any insight?

link to the page in question:
http://www.thegmatbootcamp.com/absolute-value/

juggledad Dec 21, 2009 05:02 PM

the reason it works for her and not you is that you define your links differently. Your link is
HTML Code:

<a href="#Introduction">Introduction</a>
while hers is
HTML Code:

<a class="anchorlink" name="Process">The Apartment Search Process</a>
notice she used a class=anchorlink? By doing this she can nor define a CSS selector to effect thist elements with the
HTML Code:

.anchorlink:hover {
text-decoration: none;
font-weight: normal;
}

if you just add this CSS in it is saying 'Find any link with a class of 'anchorlink' and if you hover over it, remove any text decoration.

You don't have anything with a class of 'anchorlink' so nothing happens.

superal13 Jan 27, 2010 09:59 AM

I have the same problem, or at least very similar... I have bold text which when hovered are seen as unbolded underlined links... I have placed

.anchorlink:hover {
text-decoration: none;
font-weight: normal;
}

in the Add CSS/HTML Inserts option of the theme.. where do I add the rest of the code linking to the CSS?

I have many many anchor links within the same page so would be nice to get rid of it:)

CrazyCreatures.org/Glossary


Many Thanks

juggledad Jan 27, 2010 11:46 AM

Your bold text (like the word 'Altricial') is a LINK Why are you defining these words as links without any href= ??

since it is a link, it's picking up teh defaule styling for links.


All times are GMT -6. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.