Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: aligning the SUB_MENU to center  (Read 3131 times)

0 Members and 1 Guest are viewing this topic.

FM86

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
aligning the SUB_MENU to center
« on: September 25, 2008, 10:16:58 am »

Hallo everybody!

I just upgraded to the latest version of CopperMine and I modified just a bit the theme rainy_day
I noticed that the SUB_MENU doesn't seem to be aligned (maybe it's because I did some wrong modification).
Anyway I tried to force alignment adding a "style='text-align:center" but it doesn't affect the theme at all.

This is the reference code and problem

How can I solve this problem?

Thank you for your attention
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: aligning the SUB_MENU to center
« Reply #1 on: September 25, 2008, 12:57:37 pm »

Change
Code: [Select]
<div class="topmenu">
to
Code: [Select]
<div align="center">
You can remove the "style='text-align:center" styling you added as it's not needed.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

FM86

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: aligning the SUB_MENU to center
« Reply #2 on: September 25, 2008, 01:15:29 pm »

Thank you again for your reply.

I have a question:
in which file should I modify the "class='topmenu'" to "align='center'"?
I did this in themes/rainy_day/template.html but it didn't affect the page
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: aligning the SUB_MENU to center
« Reply #3 on: September 25, 2008, 01:32:16 pm »

You must have edited the theme somehow to get your changes in there. You'll have to zip up and attach your theme for me to see what's going on.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

FM86

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: aligning the SUB_MENU to center
« Reply #4 on: September 25, 2008, 03:05:20 pm »

Hallo!

I solved it:
I had to change the <div class='topmenu'> to <div class='topmenu' align='center'> in rainy_day/theme.php

Thank for your help!
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 19 queries.