brandi1211
Member
Posted 2 years ago #
I'm trying to center the text in my posts (within the coding part) so when I make a post, they are always centered. I don't want to have to center each and every one that I write. I'm using a 3-column template.
What is the code that I can put in the editor to fix this?
Thanks!
brandi1211
Member
Posted 2 years ago #
i ended up changing my template, but just to have for future reference in case I go back i still need the help ;)
brandisutherlin.com/blog
I won't be able to help unless I can see the problem.
brandi1211
Member
Posted 2 years ago #
Ok, well I've switched over the template and now the problem I'm having is that I can't get the background content (where I write the posts) to change over to white AND remove the border around the whole center part. I can not for the life of me find it in the code to switch it over. Please help! Thanks!
brandi1211
Member
Posted 2 years ago #
oh... and now my pictures inside of my posts are not centering, even though my post is centered....
when you inserted the picture, you had the option to set the picture left center or right.
henkholland
Member
Posted 2 years ago #
Find your style.css and find this:
.article img, img.article {style.css (regel 543)
border:0 solid #CCCCB8;
margin:1em;
}
Note: between line 2 border and line 3 margin, add:
display:inline;
So it look slike this:
.article img, img.article {style.css (regel 543)
border:0 solid #CCCCB8;
display:inline;
margin:1em;
}
That does it for Firefox (in IE it was already centered)
brandi1211
Member
Posted 2 years ago #
thank you henkholland, it worked with centering my picture back. I think I removed part of that code by accident, and you fixed it! ;)
Still requesting help on the color issues as stated above:
("Ok, well I've switched over the template and now the problem I'm having is that I can't get the background content (where I write the posts) to change over to white AND remove the border around the whole center part. I can not for the life of me find it in the code to switch it over. Please help! Thanks!")
henkholland
Member
Posted 2 years ago #
Well, even those look solved now; good for you!