• Can someone tell me why my captions don’t center? When I am in edit mode, it is centered both horizontally and vertically, but when I view my post after saving, it is neither centered nor vertical middle – what can I do to fix this? I’ve tried everything adding code – but this is the free version – shouldn’t this theme be centering the caption anyway? Thanks if you can help me.

    Example: [caption id="attachment_1679" align="alignright" width="347"]<img class=” wp-image-1679 alignright” src=”https://myblog.files.wordpress.com/2016/04/fugis10.jpg&#8221; alt=”fugis10″ width=”347″ height=”177″ />I cleaned up my bike today![/caption]

    Yet the words are left aligned and at the top with too much padding below.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there!

    Can you share a link to a page where this is happening so we can take a look and troubleshoot? Thanks!

    Thread Starter keltoid

    (@keltoid)

    hmmm I’d rather not, its personal —
    here is a screenshot:

    pic & caption

    Maybe you can tell from looking at the light gray caption section — like I said, its the free version so I can’t edit the main css… if you can help, that would be nice, if not, well thanks for getting back so quick. ??

    Okay, thanks for the screenshot!

    Try adding this CSS:

    .wp-caption-text {
    	text-align: center;
    }

    I tested it on a test site and it worked, so it may work on yours too, as long as nothing else is conflicting (like a plugin or other code).

    When adding CSS to your site, don’t edit the theme files directly, otherwise your changes will be overwritten every time the theme is updated to the latest version.

    An easy way to add custom CSS is to install the Jetpack plugin and activate the Custom CSS module. Once the module is activated, go to Appearance > Edit CSS then paste the CSS in the box there and save.

    (As alternatives, you could either install a standalone custom CSS plugin, or create a child theme.)

    Let me know how it goes! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Centering captions in free Minnow theme’ is closed to new replies.