WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to make image on main page stretch full page (5 posts)

  1. victorclu
    Member
    Posted 3 years ago #

    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

    http://minutethink.com/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!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    default.css:

    .fullpage .page img, .attachment img {
        max-width: 860px;
    }
  3. victorclu
    Member
    Posted 3 years ago #

    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.

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    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

  5. victorclu
    Member
    Posted 3 years ago #

    THANK YOU SO MUCH! I got it!

Topic Closed

This topic has been closed to new replies.

About this Topic