News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

[Solved]: How do i center these?

Started by Chandler, June 18, 2009, 04:37:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chandler

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.

Joachim Müller

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<div align="right" class="topmenu"> {SYS_MENU} </div>and<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

Chandler