Welcome to Geeklog Wednesday, February 22 2017 @ 01:21 am EST


 24/06/2008 04:38pm (Read 1528 times)  

Status: offline

ishmot

Forum User

Junior
Registered: 29/09/2006
Posts: 34
I typically setup my geeklog sites to be about 850-900px wide. On one site I would like to leave this 900pixels containing the main site to be white and then make the sides outside of that 900px black. It seems more and more of the color settings are being included in the style.css which is good but I'm yet to discover an easy way to do this. here is the site: http://www.crazyscrapper.com I'm using GL1.5 Anyone have any thoughts how this would best be accomplished. I'm using a modified professional theme. thanks, Jared

 24/06/2008 05:18pm  

Status: offline

beewee

Forum User

Full Member
Registered: 05/08/2003
Posts: 969
Location:The Netherlands, where else?
An easy way is to put the whole site in a div. Make the background color of the div white, and the body background color black. Ready and running in 5 minutes.

Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

 24/06/2008 05:25pm  

Status: offline

ishmot

Forum User

Junior
Registered: 29/09/2006
Posts: 34
Quote by: beewee

put the whole site in a div.



Which file would I do this in? header.thtml?

thanks,

Jared


 24/06/2008 06:05pm  

Status: offline

beewee

Forum User

Full Member
Registered: 05/08/2003
Posts: 969
Location:The Netherlands, where else?
In style.css:

body{
background-color:#000;
margin:0px auto;
width:900px;
}

#wrapper{
background-color:#fff
width:900px;
}

In header.thtml, right after
PHP Formatted Code
<body dir="ltr">
put:
PHP Formatted Code
<div id="#wrapper">

In footer.thtml, right before
PHP Formatted Code
</body>
put
PHP Formatted Code
</div>


That should do it, I guess



Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

 24/06/2008 06:46pm  

Status: offline

ishmot

Forum User

Junior
Registered: 29/09/2006
Posts: 34
hmmmm. for some reason that didn't work. But thanks for your help anyways.

jared



All times are EST. The time is now 01:21 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