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: [Solved]: How do i center these?  (Read 2928 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.022 seconds with 19 queries.