• Resolved anilvanderzee

    (@anilvanderzee)


    Hi Ben,

    The space underneath a caption on an image is quite big. I look like it’s a double line???
    Could that be reduced to single line?? Or how it is at the top end??? To honest the text would be great if it would be a but nicer around the image. As you can see on the left its a bit all over the place but not sure if that fixable.

    https://anilvanderzee.com/bloguh-teste/

    Thanks again ??

    Anil

    • This topic was modified 7 years, 9 months ago by anilvanderzee.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey Anil,

    This code will reduce some of the space below the captions:

    .wp-caption-text {
      margin-bottom: 0;
    }

    The margin now is about 20px, so it should be enough space for one more line of text to wrap around the image.

    Thread Starter anilvanderzee

    (@anilvanderzee)

    Hi Ben,

    I tried but I didn’t see anything happening???

    Theme Author Ben Sibley

    (@bensibley)

    I see it working when viewing now.

    Old spacing: screenshot.
    New spacing: screenshot.

    Thread Starter anilvanderzee

    (@anilvanderzee)

    Hi Ben,

    I tried it on Chrome on my windows PC and saw no real difference. But on Internet Exlorer it worked but Firefox is the same as chrome ??

    ??

    Are you on a Mac??

    Greetings,

    Anil

    Theme Author Ben Sibley

    (@bensibley)

    Hmm that shouldn’t make a difference. I’m using a Mac but just tested on Chrome using Windows 8 and 10 to make sure – still seeing the same thing.

    Trying clearing your browser’s cache or visiting in Chrome Incognito to check the new CSS.

    Thread Starter anilvanderzee

    (@anilvanderzee)

    Tried but to no avail ?? So weird.

    I tried clearing the cache. incognito and also another browser Chromodo which is based on Chrome. Same issue

    Theme Author Ben Sibley

    (@bensibley)

    Okay try adding this CSS too:

    .wp-caption {
      margin-bottom: 0;
    }
    Thread Starter anilvanderzee

    (@anilvanderzee)

    Yesssssss , Solved. Thanks again Ben. You are the master.

    Theme Author Ben Sibley

    (@bensibley)

    Nice! Happy to help ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Space underneath caption big’ is closed to new replies.