Treehouse: Grow your CSS skills. Land your dream job.

[Solved] Resizing my background on WordPress

  • # September 29, 2011 at 11:47 am

    I uploaded a picture for my background using wordpress and instead of fitting the picture to the page it blew it up so it looks like it’s zoomed in really close. Any ideas?

    # September 29, 2011 at 11:57 am

    Can you provide a link…but it sounds like a css – background: repeat issue.

    # September 29, 2011 at 12:07 pm

    Hi Paulie,
    Any help you can offer would be great.

    # September 29, 2011 at 12:25 pm

    Well it’s a very large image and the viewport is only a certain size so it’s going to look zoomed in to a certain extent.

    As an aside, it’s a REALLY big file 3.5MB, that’s generally considered a no-no.

    # September 29, 2011 at 12:37 pm

    So, What’s your suggestion? How do I reduce the file/image size?

    # September 29, 2011 at 2:31 pm

    It didn’t blow it up, that’s simply how big the image is. If you want the image to fill your background and resize with your browser window, you’ll want to do something like this:

    Also, you’ll definitely want to resize that image. I’d say make it no more than 1500px wide and when you save it make sure to reduce the quality setting. You should aim for no more than 350KB.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.