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: Changing width and centering default theme  (Read 2647 times)

0 Members and 1 Guest are viewing this topic.

Ckesk

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Changing width and centering default theme
« on: February 01, 2008, 03:58:37 pm »

Hi, sorry to be asking such a stupid question, cause I know the answer will make me smack my forhead, but I am at wits end. I am altering the classic theme to match that of my wordpress and SMF forum theme. I have it nearly completely done except that I cant seem to center the index page. I was successful in changing the width, but for some reason it aligns left (i cant find it anywhere in the style.css, template.html that would cause it to go left) I have the main table in template.html with an align="center". Nothing seems to work. Is there something hidden that I might be missing? I can PM or copy/past whatever section of files you need.

Thanks in advance.

The site in question is http://ckesk.net
« Last Edit: February 01, 2008, 05:05:26 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Changing width and centering default theme
« Reply #1 on: February 01, 2008, 04:16:06 pm »

Add the standard centering code into your css for the body tag.

Code: [Select]
margin-left: auto;
margin-right: auto;
Logged

Ckesk

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Changing width and centering default theme
« Reply #2 on: February 01, 2008, 04:22:31 pm »

thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 16 queries.