• Resolved ccdfx

    (@ccdfx)


    Greetings, I was wondering if you can assist. All of sudden, when I use WordPress’ Image Gallery and put a caption, all of sudden it’s slightly off centered. It’s located under the section “Board”. I’ve looked everywhere and couldn’t find a basic solution. This looks like it’s happened after WordPress did their major update. Because it didn’t happen like this prior. Is there a CSS fix I should use to basically move the caption directly centered under the profile headshot? And looking at it, even the headshots are slightly off-centered as well. As I said, this wasn’t an issue. I’m not sure if it’s specific to Neve or WordPress-wide. Can you assist? Thank you. Your past advice has been greatly appreciated. I need your assistance again.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ccdfx

    (@ccdfx)

    Greetings, I just need to update the link to the issue. This link is now the reference to my inquiry. Thank you.

    https://www.apicoalition.org/gallery-ids4613713513442136/

    Hello @ccdfx!

    It looks like there is a left padding added to the caption, hence the misalignment. This should be fixed by adding the code below in the Additional CSS section within the Customizer, as it sets that padding to zero and it aligns the caption to the center.

    .gallery-item .wp-caption-text.gallery-caption {
        padding-left: 0px !important;
    }

    Have a nice day!

    Thread Starter ccdfx

    (@ccdfx)

    Greetings, it didn’t work. Same result. Captions are off-centered and it looks like the picture is also not centered. The picture is slightly off-centered to the left while the caption is too the right. Is there another solution? Thanks.

    Hi @ccdfx!

    I tested the code on the second link you provided and it works properly for me – screenshot. Please clear the cache (browser and plugin, if you use any caching plugin) after adding the code in the Additional CSS section and check again.

    Best regards!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Image Gallery – Captions not centered’ is closed to new replies.