So is the above page centering to? Not sure i can help unless you explain what you’re having trouble with, doesn’t the supplied code do what you asked?
Yes it works for posts
But pages it dont
I’m a little confused, you’ve given me two seperate blog URLs, are these both your blogs, and you’re wanting to apply this to both?
The first URL you gave me, based on the code on your pages on that site, the code suggested already will work.
For the second URL, can you give me a link to a page where it doesn’t work (so i can examine the code), and i’ll provide something additional to center on pages.
ALl right the first link was because my other site http://www.myanimeisland.com/streaming/ was closed as its not ready to be opened
the reason i linked the first one also was it was the same theme
Right http://www.myanimeisland.com/streaming/ on this site (which works for me what error are you getting?) i am trying to center every Post
Example would be this http://www.myanimeisland.com/streaming/anime-list/berserk/berserk-episode-12-english-dubbed/ Which your code from above worked (thanks)
Now pages
Exmaple http://www.myanimeisland.com/streaming/anime-list/crest-of-the-stars-english-dubbed/
These are allso what i am trying to center all of them
Hope this makes it easyer to understand and sorry my english is crap
Mike
In theory, you could just change the page content to using paragraphs, and it will work inline with the previous suggested code, else why not just apply the centering to the elements when writing the page.
ie.
<div style="text-align:center"></div>
Or create a class and give the elements you want to center that class.
ie.
.center { text-align:center; }
<div class="center"></div>
Or we could just forget all that and just try to center everything inside the post/page.
.post-content { text-align:center }
.post-content * { text-align:center }
Thanks alot we got there in the end here
Cheers