Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   How to remove underline that just appeared for all items in my page menu (http://forum.bytesforall.com/showthread.php?t=14880)

Thomas Jul 13, 2011 04:11 PM

How to remove underline that just appeared for all items in my page menu
 
I'm not sure how this occurred but I need to remove all these underlines in all of my page menu items - the site is http://strategicedgeinstitute.com/

Thanks for any help fixing this!
Thomas

juggledad Jul 13, 2011 05:36 PM

what did you just change?
what do you have at ato->Body, Text & Links->Link Default Decoration?

lmilesw Jul 13, 2011 08:20 PM

What are you referring to when you say "page menu"? I only see underlines in the sidebar widgets which is where I thought you wanted them.

Thomas Jul 18, 2011 04:15 PM

In the horizontal page menu - all the page names have underlines

Thomas Jul 18, 2011 04:19 PM

ato->Body, Text & Links->Link Default Decoration is underline and link hover is "none' which is what i want. I switched them, saved, and it had no effect on the underlines in the page menu

Thomas Jul 18, 2011 04:49 PM

This was the code from CSS inserts that was doing it. It's the code to underline the links by default in the Right Sidebar Widget "Headlines"

#recent-posts-4 li a:hover {
text-decoration: none !important;
}
#recent-posts-4 a:link, a:visited, a:active {
text-decoration: underline !important;
}
#recent-posts-4 ul li {
text-align:left;
padding-left:0px;
padding-top:5px;
}

As soon as I commented it out, the undrlines in the page menu went away..but of course now the default state underlines in the widget are gone..what is a better selector to use?

Thomas Jul 19, 2011 11:33 PM

No ideas? Everything's fine with the site except for the link decoration in the one widget - I just want the links in the one widget in the right sidebar (you can't miss it) to be underlined by default and behave like the rest of the site links. The code above did that but added the underlines in the page menu. The code is now commented out, page menu is fine, all is good, except the links in that widget. Help would definitely be appreciated.

Thanks
Thomas

lmilesw Jul 19, 2011 11:46 PM

I am confused about what you want. Do you want all the links in the sidebar underlined or just the links in one sidebar widget? You said the code above did that but added underlines in the page menu but it sounds like you are saying you want lines on all the links.

Bottom line is you just determine the selectors for the links and then use CSS to set the regular and hover states for the particular widgets you want to affect.


All times are GMT -6. The time now is 11:16 PM.

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