Whoa! That’s a lot of code to post… can you post a link to the site instead? Firebug on Firefox can do a quicker job than peering through oodles of CSS. (And without the xhtml, it’s only half of the puzzle)
(Did you know you can even use Firebug to tweak CSS live? Yup, then once you’ve worked out a solution you like, you just edit the CSS file to make it permanent.)
The question isn’t about your css, it’s about the html — is the class .post being properly applied to the bit you want?
First check that the class name is actually “post”. Or add a link her to your site.
I knew I was in over my head… I don’t know if the class name is actually “post”… I’m making the blog for some of my friends but they don’t want to have it published yet, so I can’t give you the link. I can however upload the code-content of any of the files you might need. In my theme folder I’ve got the following files:
404.php
archive.php
comments.php
footer.php
functions.php
header.php
home.php
index.php
page.php
search.php
sidebar.php
style.css
Which of these do you need to see?
And THANK YOU so much for helping
My header.php looks like this:
[Moderated: Too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as http://wordpress.pastebin.ca. Thanks!]
and my page.php looks like this:
[Moderated: More of the same Thanks!]
Heh, well I guess all that code just scared you off π Actually, my blog is almost an excact copy of the Gladiola 1.0 theme. You can see it here: http://themes.wordpress.net/columns/2-columns/1396/gladiola-10/ If you can think of a solution for this site: http://themes.wordpress.net/testrun/ then it will definitely work for mine too. Thanks
http://themes.wordpress.net/testrun/ is kubrick. you cant link like that.
if you want help with styling stuff, then please, provide a link.
Your page.php code indicates that you have no class “post”. But you only posted the “page.php” file which typically applies to single “pages” not multiple “posts”.
Once again, a link would help.
However, if all your post theme files are similar, your new CSS is somewhat redundant unless you wrap a div with class “post” around the title and content, inside the loop. The css has to match the actual classes you are using.
basically, a post doesn’t have any class assigned to it automatically. If the problem is not enough spacing for text on the whole site, then try changing:
#content p{
padding: 0px 0px 15px 0px;
margin: 0px;
line-height: 20px;
}
The padding goes: top right bottom left
So change 15px to 40px and you should be set.
Thanks everyone! π
PS: Sorry for the long code examples, next time I’ll use http://wordpress.pastebin.ca.