Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-05-08 09:25:00

Vincent2
New Member
Registered: 2010-05-08
Posts: 4

Changing the width of posts

When I look at the source code of my index, I see that all my posts are in a div called content. Now I wan’t to restyle the width of that div. The problem is that I can’t see it nowhere in the css files.

Does anyone know how to change the width of the posts?

thx

Offline

#2 2010-05-08 11:21:45

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Changing the width of posts

Vincent2 wrote:

When I look at the source code of my index, I see that all my posts are in a div called content. Now I wan’t to restyle the width of that div. The problem is that I can’t see it nowhere in the css files.

If you’re talking about a default installation (i.e., no theme), div#content is indeed in the stylesheet. (Stored in the db, accessed through Presentation->Styles.) However, (again in a default installation), the one you want to change is div#container. It has a defined width (div#content doesn’t).

If you’re using a theme you may have other CSS files to look through.


Code is topiary

Offline

#3 2010-05-22 11:40:40

Vincent2
New Member
Registered: 2010-05-08
Posts: 4

Re: Changing the width of posts

thanks

Offline

Board footer

Powered by FluxBB