First, the link:
http://www.drhathy.com/hts/
The main menu in header,
Home FAQ's Services work fine after being clicked and become the current/active page.
The problem is with the "Small Biz Tips" link.
Here is the code generated when this page is active:
Small Biz Tips
Here is the code when "Home" is active:
Home
As you can see, there are different classes in play. "Small Biz Tips" is the parent of another set of links that show in the left sidebar when that page is active.
My question is this: When "Small Biz Tips" is active, how do I get it styled to look like the other main links?
Thanks,
Dan
"Current or Active Page" menu question when, that page has sub-menu's
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: "Current or Active Page" menu question when, that page has sub-menu's
yet another 'my car doesnt work' question?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: "Current or Active Page" menu question when, that page has sub-menu's
Use Firefox with the Web Dev. tool-bar, in outline use current element, hover the link to find the class etc. use edit css to find the style sheet that needs changing, in that style sheet find the css call that link is using, find another link style that is what you want and change the other one to reflect the same style...
Re: "Current or Active Page" menu question when, that page has sub-menu's
If you want all 1rst level menu items to look the same why have you styled 'li.menuparent' ? Furthermore, some style properties are overridden by other style rules or are hidden by child html elements.
Comment it like this and look what happens
Comment it like this and look what happens
Code: Select all
/*
li.menuparent {
background-color:#E9E59E;
border-color:#FFFFFF #FFFFFF #AF7142;
border-style:solid;
border-width:0;
color:#5A051A;
margin:0 5px;
padding:1px 4px;
text-decoration:none;
}
*/
Re: "Current or Active Page" menu question when, that page has sub-menu's
To Dr. CSS and Peciura,
Thank you! These suggestions give me a great place to start. I knew it was something to do with the styling but I had difficulties in finding where.
Regards,
Dan
Thank you! These suggestions give me a great place to start. I knew it was something to do with the styling but I had difficulties in finding where.
Regards,
Dan