Welcome to Geeklog, Anonymous Thursday, November 21 2024 @ 02:47 pm EST

Geeklog Forums

Centering the Ivy_League Theme


MrG

Anonymous
I want to "center" the Ivy_League theme, as I want to make it less than 100% in width, and don't want it left justified.

Does anyone know where to put the <center> and </center> commands so that the site is centered in the browser, BUT, the blocks aren't effected. I've tried quite a few combinations in the themes header and footer files, and I can get the site centered with no problem, but then almost all the blocks are centered also, including the stories.

Thanks.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
You could try updating your body css tag in the style.css file found in your theme directory.

Text Formatted Code

body {
  padding:0px;
  margin:0px auto;
  text-align:left;
  float:center;
  width:800px;
}
 



One of the Geeklog Core Developers.
 Quote

MrG

Anonymous
Thank you Tom. That's exactly what I was looking for.

Really appreciate it. :banana:
 Quote

All times are EST. The time is now 02:47 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content