• Resolved whoismatthias

    (@whoismatthias)


    Hi Guys,
    hi Anders,

    I really love Hemingway Theme, but I have one little issue concerning the featured images. I have already played with css throughout the holidays, but didn’t get a proper solution.

    It’s all about the width of the featured images, on archive they should be as wide as the text beneath it.

    As mentioned I have already

    .featured-media img { width: 100%; }

    but this did not work for me.
    Would be pleased about any other solutions! Thank you so much in advance!

    Best,
    Matthias

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @whoismattias,

    Your featured images are wrapped in figure elements, which have default margins as part of the browser styles. You can remove the margins by adding the following CSS:

    figure.wp-caption.featured { margin: 0; }

    — Anders

    • This reply was modified 5 years, 10 months ago by Anders Norén.
    Thread Starter whoismatthias

    (@whoismatthias)

    Hi @anlino,

    Excellent, that works fine for me.
    Thank you very much!

    Best
    Matthias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Questions about Featured Image Width’ is closed to new replies.