Welcome to Geeklog Wednesday, August 21 2019 @ 03:42 am EDT

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.

Status: offline

Laugh

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

PHP Formatted Code

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



One of the Geeklog Core Developers.

MrG

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

Really appreciate it. :banana:

All times are EDT. The time is now 03:42 am.

  • 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