Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-12 17:00:33

txtb8b
Member
Registered: 2007-10-29
Posts: 20

Changing looks

Hello, I tried different backgrounds but never achieved what I wanted. Since there are no tables, playing with colors and layouts is very hard for me (don’t handle css too well). My blog has the standard TXTpattern look (simple). Could anyone suggest how to have the background color be different than the blog (content/body) itself? Not sure how to explain this better. Perhaps I should try to implement different themes…

Any tips on how to try to achieve different looks is greatly appreciated. And yes, I read several threads on this forum but still can’t grasp it. Thanks.

Offline

#2 2007-11-12 20:41:49

ultramega
Member
Registered: 2006-02-26
Posts: 221

Re: Changing looks

I suggest you to find some easy but good css-related tutorial sites (google helps you, there should be thousands). That way you’ll begin the learn how to change whole site’s outfit with one small piece of stylesheet. Having not forced to use tables for the layout is one thing why txp is so cool: you can make your site look just anything you want.

For your question, if your site currently looks like TXP’s home page, background color/image for the whole page can be changed in the style-sheet’s “body” section:

body {background:#000;}

The content area is tied propably in the div (which are kind of building blocks), named in this case, hmm…, literally as “content”:

#content {
background:#fff;
}

These would make the page’s background color black (000), and the content area white (fff).

If you just want to blog, try themes, but if you want to be in control, study a little bit css & html. It’s not rocket science, that’s why even I can do that :)

Offline

#3 2007-11-12 22:51:01

txtb8b
Member
Registered: 2007-10-29
Posts: 20

Re: Changing looks

Excellent advise, thank you. Yes, played a little with #content and #sidebar-1 and 2 and started to look as I wanted. So yes, studying CSS is the way to go. Thank you, again.

Offline

Board footer

Powered by FluxBB