aligning the SUB_MENU to center aligning the SUB_MENU to center
 

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

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!