Gallery captions

Home Forums Newbie Helpdesk Gallery captions

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6797 Reply
    Balaboit
    Guest

    Hi, Mister Adult Affiliate!

    In Guttenberg, the captions for galleries look awful, as the text is placed on the picture, instead of being under it. Do you have any idea how I can place the caption under the picture, and how I can change the color?

    If you take a look at my posts, you will see how bad it looks. Not to mention that on mobile, the picture is barely seen, because the caption covers it almost entirely.

    #6798 Reply

    On some themes, the captions are still placed under the pictures by default.

    I am not a coder, but you might try to add this code to custom CSS:

    .wp-caption .wp-caption-text {
    background: transparent;
    padding: 2px 0;
    color: #616149;
    text-align: center;
    position: relative;
    }

    If it does not work, then remove it and try what you can find here:

    wordpress.org/support/topic/move-gallery-captions-back-to-below-images/

    wordpress.org/support/topic/image-caption-poorly-placed-on-page-gutenberg-annoyance/

    #6813 Reply
    Balaboit
    Guest

    Thank you!

    The code failed, but I will try those forums.

    #6818 Reply
    Balaboit
    Guest

    I tried to use the classic editor, but the images chosen for the gallery are not displayed. Instead, this is shown:

    testing [gallery ids="1727,1721,1724"]

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Gallery captions
Your information: