[Resolved] Centering caption to width of inline image

Home Forums Support [Resolved] Centering caption to width of inline image

Home Forums Support Centering caption to width of inline image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2160435
    Craig

    Hello,

    I’m a new GP user. When I center an image caption under an inline image that isn’t full-width, the caption is centered to the width of the content area. It leaves the caption being off-center to the image above it. Can the caption’s width be inherited by the image so the caption is centered?

    Here’s an example of a 600px wide image in the Read theme, standard post width.
    https://snipboard.io/1CkVLl.jpg

    Thanks for your help.
    Craig

    #2160469
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know ๐Ÿ™‚

    #2160475
    Craig

    Thanks for the reply Leo. It’s behind a coming soon page. I realized that centering the image in the content area solves the problem. I had the image set to none. (I had mistakenly assumed the centering would be done by the image width.)

    #2160524
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.