Topics

User Functions

Events

There are no upcoming events

What's New

Stories last 2 weeks

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Thursday, April 24 2014 @ 06:43 AM EDT


 Forum Index > Support > Theming Support New Topic Post Reply
 Background Color
   
ishmot
 06/24/08 04:38PM (Read 1266 times)  
++---
Junior

Status: offline


Registered: 09/29/06
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
 06/24/08 05:18PM  
+++++
Full Member

Status: offline


Registered: 08/05/03
Posts: 969
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
 06/24/08 05:25PM  
++---
Junior

Status: offline


Registered: 09/29/06
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
 06/24/08 06:05PM  
+++++
Full Member

Status: offline


Registered: 08/05/03
Posts: 969
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
 06/24/08 06:46PM  
++---
Junior

Status: offline


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

jared



 
Profile Email
 Quote
Content generated in: 0.79 seconds
New Topic Post Reply

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