Support » Theme: Fukasawa » Featured Image – Can’t Resize In Post

  • Resolved bjmiller1993

    (@bjmiller1993)


    Hey all,

    First time poster here. My photography website hasn’t launched yet but it’s almost ready to sort of soft-launch after I bake up some more content for the backlog.

    I’m just having an issue with the Fukusawa theme, specifically with featured images. They appear absolutely massive in post format, and I don’t really want my readers having to scroll down one of my huge bird photographs to get to the description and blog etc.

    I’ve tried natively adjusting sizes in Settings/Media, but that doesn’t seem to do anything… and I’ve also had a crack at using the Simple Image Sizes plugin. Have also resized and reformatted my images in different ways before adding them to the media library, too.

    I’m not afraid of a little CSS theme editing (I know some C# though, not CSS), so I had a look through but couldn’t find anything that stood out to me.

    If anyone can help me with this issue I’d be extremely grateful, as I just want to make an elegant looking post where my featured image is smaller. Thank you.

    • This topic was modified 1 year ago by bjmiller1993. Reason: formatting issues
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @bjmiller1993,

    Fukasawa will display the images in the aspect ratio they are uploaded with, so the easiest solution would be to reduce the height of the images before uploading them.

    If you want to retain the aspect ratio of the images, you can reduce the maximum width of the images on single posts with CSS. Go to Appearance → Customize → Additional CSS (the menu labels might be different in your language) and add the code below:

    .featured-media img { max-width: 620px; margin: 0 auto; }

    The images default to a max width of 973px. Note that setting the max width to less than 973px will result in white bars next to the image, since the white background color of the post container will be visible.

    — Anders

    Thread Starter bjmiller1993

    (@bjmiller1993)

    Thanks a tonne @anlino

    I just implemented that line and it’s worked a treat. I see what you mean about the white bars but I think it still looks sleek! I’ll have a play around with reducing the height of future image uploads as well.

    Really appreciate the prompt response 🙂
    The fukusawa theme is really great by the way, it’s been very motivating in getting me ready to launch my content!

    Have a good one!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured Image – Can’t Resize In Post’ is closed to new replies.