WordPress figcaption center CSS class comes in handy in centrally aligning image captions regardless of the WordPress theme we are using.
At Bobcares, we offer solutions for every query, big and small, as a part of our WordPress Support Services.
Let’s take a look at how our WordPress Support Team is ready to introduce customers to the WordPress figcaption center in order to centrally align the Image caption.
All About using WordPress figcaption center
Many WordPress themes seem to have trouble displaying image captions in the center while using a particular WordPress Theme. Interestingly, this is due to the WordPress theme in use.
If you are facing the same issue, you are in luck, we can centrally align the image captions without too much trouble.
Before we begin, we have to identify the CSS element or class responsible for aligning the image caption.
- First, open the web page in a browser and right-click the image.
- Then, click Inspect to open up the Developers Tool tab in the browser. This gives us access to the element tag name and CSS properties of the Image caption.
- Next, examine the HTML tag and we will notice the WordPress figcation element. Additionally, the CSS class is .wp-block-image figcaption.
- After that, navigate to Appearance> Customize.
- Then, click Additional CSS options and enter the following:
.wp-block-image figcaption { text-align: center; }
- Next, click Publish.
After implementing the above steps, refresh the web page and we will notice that the image caption is centrally aligned regardless of which WordPress theme we are using.
At the end of the day, every element on the web page has a role to play in keeping the visitor’s interest and spending more time on the website.
[Need assistance with a different issue? We are available 24/7.]
Conclusion
In a nutshell, our skilled WordPress Support Engineers at Bobcares introduced us to WordPress figcaption center.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
Thank you very much for these instructions, Nikhath! They worked perfectly. All my captions are centered now. 🙂
Hi Nancy,
Thanks for the feedback. We are glad to know that our article was helpful for you 🙂 .