Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: topmenu style not applied  (Read 4791 times)

0 Members and 1 Guest are viewing this topic.

tripslip38

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
topmenu style not applied
« 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
Logged

tripslip38

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: topmenu style not applied
« Reply #1 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: topmenu style not applied
« Reply #2 on: December 03, 2005, 03:52:37 am »

Which theme are you talking about?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: topmenu style not applied
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.