forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Chandler on June 18, 2009, 04:37:01 am

Title: [Solved]: How do i center these?
Post by: Chandler 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.
Title: Re: How do i center these?
Post by: Joachim Müller 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
Title: Re: How do i center these?
Post by: Chandler on June 18, 2009, 07:11:03 pm
thanks