I can't seem to align my images in the centre

My website: http://feedapparel.com/

I am trying to align my images on the home page to the centre but it is not allowing it. It originally was until I made the image ‘clickable’ for it to go to the respective mens and womens range.

Please help!

Hi there,

Please try to add a class to the class field of the Classic Image element then add this code in the Global CSS:

a.x-img.center-image {
    margin-left: auto !important;
    margin-right: auto !important;
}

The code above assumes that the class you added to linked image class field is center-image.

If you want to center other classic images where the linked option is enabled, you can simply reuse the class center-image to those classic image elements.


You can find more info on how to check for CSS selectors here.
Then information about writing your custom CSS here.

Hope this helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.