I want to show the CSS drop down menu on internal pages only, not on the home page.
When someone selects a Particular category, only then the menu should be visible.
Ho can I do it.
Main thing is to hide the menu on the home page.
I want to show the CSS drop down menu on internal pages only, not on the home page.
When someone selects a Particular category, only then the menu should be visible.
Ho can I do it.
Main thing is to hide the menu on the home page.
http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports
You can do it in the php by adding an if statement where appropriate. WIthout a bit more information about your site then hard to be more detailed than that.
Or:
You can just stop the menu displaying on the home page with css. The stylesheet rule would look something like:
#dropdownmenu is the ID of the container for the dropdown menu. WIthout looking at the site I can't tell you what that would be. But you will need to find it and replace #dropdownmenu with it in the rule.Code:#indexDefaultHeading #dropdownmenu{ display:none; }
}
Nick
iszent.com
Thanks for this information.
I tried this, but it does not work.
The website is at http://204.93.193.150/~bhavikac/
The id of the drop down menu is #dropMenuWrapper
so, I added
#indexDefaultHeading #dropMenuWrapper{
display:none;
}
Should the main id be #indexDefaultHeading or something else.
Any help would be greatly appreciated.
Thanks
http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports
I am sorry, it just worked.
I replaced the #indexDefaultHeading with #indexHomeBody
Thanks.
Now, my next idea is that on the category pages, the dropdown menu shows the sub categories for the specific category page only. (it should not show the categories listing, but begin with sub categories on level 1)
Hope you could help me here too.
Thanks again.
http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports