Center top menu on hardwired theme Center top menu on hardwired theme
 

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

Center top menu on hardwired theme

Started by romeoyankee, October 04, 2006, 04:15:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

romeoyankee

Hey guys,  New to the forum and love the software.

I just downloaded it and set it up today.  Im having a problem customizing the hardwired theme though and would love some help doing so.

What I need to do i guess is center the sub_menu and sys_menu

http://www.cyow.ca/gallery

Basically what is happening is the HOME, My Gallery, etc and the Album lists, Last uploads, etc are not centered.  The first one is on the far right and the second is on the far left.  I would like them to both be centered..

I have tried the <center> tags and the <div align> tags all over the place on the template.html file to no avail.

Can anybody help out?

thanks

eruss

Quote from: romeoyankee on October 04, 2006, 04:15:56 AM
Hey guys,  New to the forum and love the software.

I just downloaded it and set it up today.  Im having a problem customizing the hardwired theme though and would love some help doing so.

What I need to do i guess is center the sub_menu and sys_menu

http://www.cyow.ca/gallery

Basically what is happening is the HOME, My Gallery, etc and the Album lists, Last uploads, etc are not centered.  The first one is on the far right and the second is on the far left.  I would like them to both be centered..

I have tried the <center> tags and the <div align> tags all over the place on the template.html file to no avail.

Can anybody help out?

thanks

Try the style.css file for your theme.  It's the better way to adjust things.

Sami

You should change the align properties of container DIV to center
edit themes\hardwired\template.html and change this:(lines 29~31)

    <td class="gallery"><div align="right" class="topmenu"> {SYS_MENU} </div>
      <br />
      <div align="left" class="topmenu">{SUB_MENU}</div> <br />

To

    <td class="gallery"><div align="center" class="topmenu"> {SYS_MENU} </div>
      <br />
      <div align="center" class="topmenu">{SUB_MENU}</div> <br />
‍I don't answer to PM with support question
Please post your issue to related board

romeoyankee

 :-[

heh heh... I was looking in the body of template.html file.  That worked though. 

Thanks alot for your help!!!!

As for changing around the style.css sheet.  I didnt try that and dont really know what to change in there anyways...