Re-sizing my homepage for smaller screens

  • Unknown's avatar

    Hello,

    I recently changed the homepage of my responsive design to include a sidebar, which has calendar and testimonials widgets. I have specified that I want the calendar to be 400px by 400px, but I only want that to apply for large screens because when you start looking at the site on a phone screen, the calendar takes up too much real estate.

    Can someone help me come up with a media query for this that would make this site look normal on the phone?

    Thanks so much!
    Christine

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Instead of reducing the size of the calendar you can just make that widget show horizontal scrollbars when the calendar would otherwise not fit:

    #text-1 {
      overflow: scroll;
    }
  • Unknown's avatar

    Thank you @halluke! Elegant solution!

  • The topic ‘Re-sizing my homepage for smaller screens’ is closed to new replies.