Aligning headline and text of entry

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Ralf Skirr
Regular
Posts: 30
Joined: Fri Jan 26, 2007 4:42 pm

Aligning headline and text of entry

Post by Ralf Skirr »

Aligning headline and text of entry

Hi,

I created a site based on the coffeebar template that I edited.
At the entry pages headline and 'dauerhafte Einträge'(=sticky entries) are located left while the entry itself is centered.

I don't find where this is defined in the css.
I'd like to have the text of the entry on the left hand side as well.

http://rueckenvital.de/blog/index.php?news

Any suggestions?

Ralf
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Your site uses multiple stylesheets. The offending code is in blue.css:

Code: Select all

.serendipity_entry {
	width: 550px;
	margin: auto;
}
You give it a specific width (???) then set the margins to auto, which will center it from left to right.

If you want all of that stuff to align left, set the desired margin to 0 (or the same number) on .serendipity_entry, .serendipity_title and .serendipity_date.
=Don=
Ralf Skirr
Regular
Posts: 30
Joined: Fri Jan 26, 2007 4:42 pm

Thanks

Post by Ralf Skirr »

Hi Don,

thank you very much for your help. :D

Ralf
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

You're welcome. Let me know if you have any other issues.
=Don=
Post Reply