Welcome to Geeklog, Anonymous Saturday, September 14 2024 @ 06:59 pm EDT
Geeklog Forums
Background Color
Status: offline
ishmot
Forum User
Junior
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
9
12
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
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
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
9
11
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
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 put:
In footer.thtml, right before put
That should do it, I guess
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
body{
background-color:#000;
margin:0px auto;
width:900px;
}
#wrapper{
background-color:#fff
width:900px;
}
In header.thtml, right after
Text Formatted Code
<body dir="ltr">Text Formatted Code
<div id="#wrapper">In footer.thtml, right before
Text Formatted Code
</body>Text 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
14
11
Quote
All times are EDT. The time is now 06:59 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