Forums

How to align center the Johnson Box (8 posts)

  1. 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 =)

  2. 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...

  3. 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

  4. 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.

  5. tomichaelaraune
    Member
    Posted 1 year ago #

    HI ClaytonJames

    I seem cannot locate the style.css

    where can that be found again?

  6. 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

  7. tomichaelaraune
    Member
    Posted 1 year ago #

    Hye ClaytonJames,

    hahaha, thank you very much. i just did it =)

    thank you very much for the code =)

  8. ClaytonJames
    Member
    Posted 1 year ago #

    You are welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic