tomichaelaraune
Member
Posted 1 year ago #
I need help on how to align-center the johnson box of my wordpress site.
I did center the johnson box while I edit it in wordpress but when I take a look at the site itself it locates at the left.
I am using wordpress version 2.9.2
Thank you for your help in advance =)
ClaytonJames
Member
Posted 1 year ago #
My gut tells me that while you are in the html editor, not the visual editor, you might try putting it in a center aligned div; but a link to the page with the box so someone can view your source code might help...
tomichaelaraune
Member
Posted 1 year ago #
Hey ClaytonJames,
thank you very much for this reply.
Here is the link to one of the page that contains the johnsonbox which aligns to the left=(
http://www.herbseedbank.com/buynow
ClaytonJames
Member
Posted 1 year ago #
You can give this a try, but be aware that if you add any other tables on any other pages, they too will be aligned center. At the bottom of your themes style.css, add this and save the changes;
table {
margin-left: auto;
margin-right: auto;
}
I think that will do it.
tomichaelaraune
Member
Posted 1 year ago #
HI ClaytonJames
I seem cannot locate the style.css
where can that be found again?
tomichaelaraune
Member
Posted 1 year ago #
Hey claytonjames
i finally found it, I just went blank =)
thank you
i will have a try on this
tomichaelaraune
Member
Posted 1 year ago #
Hye ClaytonJames,
hahaha, thank you very much. i just did it =)
thank you very much for the code =)
ClaytonJames
Member
Posted 1 year ago #