Support » Themes and Templates » How to make image on main page stretch full page

  • Resolved victorclu

    (@victorclu)


    I would really appreciate an answer to this as I’ve been trying to figure this out myself for the last three hours.

    I want to post large images on my main page but the image size seems to be stuck on the size shown here

    minutethink.com

    However, there is a no sidebar full width template that I’ve been using working as you can see here

    About

    Even when I fully copy my full width template onto my main page template, it’s still stuck on that particular image size for my main page. I don’t believe I have anything under css and this is pretty frustrating to figure out. Thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Forum Moderator

    default.css:

    .fullpage .page img, .attachment img {
        max-width: 860px;
    }

    Thanks for the help! I’m not sure if I understand how to fix it with that css.

    I didn’t have a default.css file under my editor so I copy pasted the code into my style.css and nothing happened? Any advice? I just started last week so please excuse my slowness.

    esmi

    (@esmi)

    Forum Moderator

    The relevant stylesheet is in a sub-folder in your theme. So you will either need to access it and remove that rule using FTP. Or you could try adding:

    .fullpage .page img, .attachment img {
        max-width:none !important;
    }

    to style.css

    THANK YOU SO MUCH! I got it!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to make image on main page stretch full page’ is closed to new replies.