Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #129178
    catwingz
    Participant

    Hi,

    We have a problem with some images with captions. I have changed the background color of the captions and have made the text left-aligned instead of centered. The problem is that with the caption styled for 100% width it is extending far beyond the left & right edges of the image. It would probably be fine if the caption were wrapping the image, but the current too-wide box looks quite odd. Small ones with short captions are ok. So far I only have one example of this which is in draft form only so I am sharing a screenshot. too much caption!

    I tried changing the percentage but the problem I see with this is that while it might fix this image this approach might cause yet more problems with others. The ideal solution to this would be (if the captions continue to be on the bottom) for the caption to be responsive with the image, never being wider than the image.

    I found this post and tried it without the suggested fix, and it didn’t seem to make any difference. Make wp-caption the same (responsive) width as the Image

    Can you offer a solution to this?

    Thank you

    #129185
    tikaram
    Keymaster

    @catwingz : Its difficult to know about the issue by viewing a screen shot. Can you please let me know when your site is accessible? Hope you understand the limitations of screen shot as no elements can be viewed as in the web view. Let me know if you have any further issues.

    Regards,
    Tikaram

    #129405
    catwingz
    Participant
    #129428
    tikaram
    Keymaster

    @catwingz : I don’t seem to find any issue in the provided link. Let me know if you have any further issues.

    Regards,
    Tikaram

    #129554
    catwingz
    Participant

    Hi Tikaram,

    I appear to have traded one problem for another. The link I sent before was for the wrong post. This one was unpublished before it could be viewed. Now it is published again and the caption box has completely changed. I am wondering if there was something about the draft status that was interfering.

    At any rate the published post has an acceptable caption but is essentially invisible on the site because it fails to show up on the (wisdom) blog page. Initially it lacked a featured image. I thought that adding it would bring it into view. This was not the case. Can you explain to me why it’s not showing up correctly and how to fix it?

    Thank you

    #129632
    tikaram
    Keymaster

    @catwingz : Are you sure the link you provided is the correct link ? Can you please check the link and post a proper link again ?

    Regards,
    Tikaram

    #129642
    catwingz
    Participant

    That is very odd. The link you sent back to me goes to a page I have never visited before. This *should* be the correct url: the post that isn’t showing in the blog

    #129660
    catwingz
    Participant

    Now I am thinking I may need to test for a plugin conflict. None of the newer posts are showing up in the blog. A few weeks ago they were.
    If you have any other ways of determining the cause I would love to know. It’s going to be a few days before I can go hunting. Thank you

    #129820
    tikaram
    Keymaster

    @catwingz : You will need to customize the blog page using a child theme and change the code for the blog page. It will not display captions by default. Let me know if you need further assistance regarding the issue.

    Regards,
    Tikaram

    #129977
    catwingz
    Participant

    Hi Tikaram,

    This issue now has nothing to do with captions. That issue has been resolved. I am going to start a fresh thread.

    Thank you

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Captions under larger image aren't fitting under the image’ is closed to new replies.