Advanced search  

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

Pages: [1]   Go Down

Author Topic: aligning the SUB_MENU to center  (Read 3152 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.018 seconds with 19 queries.