image and caption unaligned
-
Hi guys, please can anyone help with aligning my images and image captions. I’m currently using the none alignment so that my images stay on the left of the page, but the caption is only staying centered. How do I align them? Thanks.
-
Hi there!
Can you let us know the URL of the site where you’re having this problem? Once we have that information, we’ll be better able to advise.
Thank you!
-
-
my images are on the left of the article, and the captions are in the center of the article. I want the captions to be in the centre underneath the image, no matter whether the image is on the left, in the center, or on the right. Thank you.
-
Hello there,
We’re not able to view that preview page as it doesn’t look published.
Do you have another page where this is occurring? To note, this site is not hosted with WordPress.com, so our support is limited.
We’ll do our best to point you in the right direction.
-
The 10 Top MMA Promotions Globally (Ranked 2023)
If you look at number 9 and 10, the images are on the left side but the captions are in the center. How did I align the caption under the center of the image? Thanks to anyone who can help!
-
Since the site isn’t hosted here on WordPress.com we’re not really the best point of contact (that’d be either your host or the community forums of WordPress.org at https://wordpress.org/support/forums/) but from what I can see, there’s some custom CSS applied to your site which is forcing the captions to be centered.
It looks like this:
.wp-block-image figcaption { text-align: center; }Try heading to Appearance > Customize > Additional CSS to see if you can locate it and remove it – that should get the captions over to the left.
More info here:
https://wordpress.org/support/article/css/#custom-css-in-wordpress
-
thanks for replying. I removed the CSS code you mentioned but still the captions remain in the center. I’m moving to .org, thanks for the suggestions.
- The topic ‘image and caption unaligned’ is closed to new replies.