aligning the SUB_MENU to center aligning the SUB_MENU to center
 

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]

Main Menu

aligning the SUB_MENU to center

Started by FM86, September 25, 2008, 10:16:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FM86

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

Gizmo

Change
<div class="topmenu">

to
<div align="center">

You can remove the "style='text-align:center" styling you added as it's not needed.
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

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

Gizmo

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.
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

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!