Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: How do i center these?  (Read 2926 times)

0 Members and 1 Guest are viewing this topic.

Chandler

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: How do i center these?
« on: June 18, 2009, 04:37:01 am »

The Link to the site is: http://www.artisticfever.com/gallery
The Things i want to know how to center can be seen in the attachment called HowtoCenter
The theme i edited was the Theme hardwire so if you do not have a copy of that i can get you a link to the one that is in this site.

The thing is i want the stuff shown in the image to be centered.
« Last Edit: June 18, 2009, 08:08:16 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How do i center these?
« Reply #1 on: June 18, 2009, 09:15:50 am »

In hardwired that menu is composed using a table that is being wrapped in a div container. That div container is left aligned for the sub-menu and right-aligned for the sys-menu. The definition for those containers resides in your theme's template.html
In your case, edit themes/your_copy_of_hardwired/template.html with a plain text editor, find
Code: [Select]
<div align="right" class="topmenu"> {SYS_MENU} </div>and
Code: [Select]
<div align="left" class="topmenu">{SUB_MENU}</div>and edit as you see fit.
Judging from the way you asked your question my guess is that you haven't read the docs that explain theming basics, so I suggest reading it now, starting with the section http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_rename
Logged

Chandler

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: How do i center these?
« Reply #2 on: June 18, 2009, 07:11:03 pm »

thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.