Align Image Center - by turner7 - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: turner7
    turner7
    Participant
    February 17, 2015 at 17:49

    I’m trying to center an image, which should be simple, but for some reason I’m running into some challenges. I have tried:
    img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }
    in my css style sheet and inputted img.center into the extra class name field on the single image box and that didn’t work. I tried simply embedding an image in a text box and setting the image to align center and no luck. How can I go about centering an image?

    Please advise,

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    February 18, 2015 at 10:15

    Hello,

    Please provide us with a link to the image you’re trying to center.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.