Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: CSS messes my menu up  (Read 2892 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 4
CSS messes my menu up
« on: August 28, 2005, 08:40:47 am »

I have installed coppermine and the functions seem to run fine. The problem occurs when trying to customise the layout. Basically I want to use the same headers and footers for my menu as other areas of my site.
The headers and footers have been wrote into .inc files so I can use php to pull them from any page, for instance the homepage template I've started (
I have made a backup of the classic theme and want to modify it. I have put the header into the header part of the theme.php and the footer into the footer section. Please see attached file.
I have also modfied the template html file to the way I want it. So in theory the page should run fine ( However what seems to happen is the css messes my menu up and puts it onto a second line, changes the spacing etc. If I delete the line of code in the template.html file which refers to the css file then my menu runs correctly but obviously coppermine is messed up. Please see attached screenshots.
I have tried copying the css data associated with my menu to the css file but that makes no difference. I have also tried copying the css data from the menu to the template.html file but that makes no difference.
Can you help, its been driving me mad and I've tried everything I know?


  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: CSS messes my menu up
« Reply #1 on: August 28, 2005, 09:03:04 am »

just a guess.. but the LI definition in the classic cpg css has a 10 px left margin. If you change this or you introduce a new class for LI like it should work (you for sure would have to change all LI calls in your header)


  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CSS messes my menu up
« Reply #2 on: August 31, 2005, 06:54:08 am »

this seems to have worked. i'll check it and make sure it doesnt fall over
Pages: [1]   Go Up

Page created in 0.017 seconds with 20 queries.