coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: romeoyankee on October 04, 2006, 04:15:56 AM

Title: Center top menu on hardwired theme
Post by: 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
Title: Re: Center top menu on hardwired theme
Post by: eruss on October 04, 2006, 06:45:19 AM
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.
Title: Re: Center top menu on hardwired theme
Post by: Sami on October 04, 2006, 06:52:36 AM
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 />
Title: Re: Center top menu on hardwired theme
Post by: romeoyankee on October 04, 2006, 04:17:40 PM
 :-[

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