coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: FM86 on September 25, 2008, 10:16:58 AM

Title: aligning the SUB_MENU to center
Post by: FM86 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 (http://www.lyra.it/copper)

How can I solve this problem?

Thank you for your attention
Title: Re: aligning the SUB_MENU to center
Post by: Gizmo on September 25, 2008, 12:57:37 PM
Change
<div class="topmenu">

to
<div align="center">

You can remove the "style='text-align:center" styling you added as it's not needed.
Title: Re: aligning the SUB_MENU to center
Post by: FM86 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
Title: Re: aligning the SUB_MENU to center
Post by: Gizmo 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.
Title: Re: aligning the SUB_MENU to center
Post by: FM86 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!