coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: tripslip38 on December 01, 2005, 07:59:01 AM

Title: topmenu style not applied
Post by: tripslip38 on December 01, 2005, 07:59:01 AM
In 1.3.x, the .topmenu style changed the main menu text, but not so in 1.4.2 apparently. Is that menu generated differently now? I viewed the browser source and did a search for "topmenu" and came up short, so it doesn't look like the style is being used. How can I change this menu formatting?

Thanks,
Zane
Title: Re: topmenu style not applied
Post by: tripslip38 on December 03, 2005, 03:47:46 AM
This thread is a good tutorial for editing the content of the menus, but I still cannot find how css formatting is applied.

http://forum.coppermine-gallery.net/index.php?topic=24107.0

In my case mine was wrapped in a div, so i just a made a new style for 'a' within that div and was able to format my colors and behavior that way.

Am I wrong in believing that .topmenu is now deprecated?

Z
Title: Re: topmenu style not applied
Post by: kegobeer on December 03, 2005, 03:52:37 AM
Which theme are you talking about?
Title: Re: topmenu style not applied
Post by: donnoman on December 03, 2005, 06:14:23 AM
topmenu is only used once in the core code on the login page to style a single hyperlink. (probably errantly).

That means topmenus use is 99.9% dictated by its use in theme.php and template.html.

That means you make the rules of what you want topmenu to do.  It also means that it may be used differently from theme to theme, so just because you knew how topmenu was used in one theme, doesn't guarantee its used for the same thing, or even if it exists in another theme.