Topics

User Functions

Events

There are no upcoming events

What's New

Stories last 2 weeks

Comments last 2 weeks

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

Downloads last 2 weeks

No new files

Welcome to Geeklog Saturday, August 27 2016 @ 02:21 am EDT

 Forum Index > Support > Theming Support New Topic Post Reply
 Background Color
Prev Topic Next Topic
   
ishmot
 24/06/2008 04:38pm (Read 1506 times)  

Junior

Status: offline
Forum User

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
 
Profile Email
 Quote
beewee
 24/06/2008 05:18pm  

Full Member

Status: offline
Forum User

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
 
Profile Email Website
 Quote
ishmot
 24/06/2008 05:25pm  

Junior

Status: offline
Forum User

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

 
Profile Email
 Quote
beewee
 24/06/2008 06:05pm  

Full Member

Status: offline
Forum User

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
 
Profile Email Website
 Quote
ishmot
 24/06/2008 06:46pm  

Junior

Status: offline
Forum User

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

jared


 
Profile Email
 Quote
Content generated in: 0.88 seconds New Topic Post Reply
 All times are EDT. The time is now 02:21 am.
Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content