Responsive.css file "max-width" settings causing undesired layouts

edited August 2015 in Theme support
Curious as to why the max-width for .section_wrapper, .container has been set to a fixed pixel value for all screen sizes below 768px. Please see line 211 of responsive.css:

.section_wrapper, .container, .four.columns { max-width: 260px !important; } (these are very broad and apply to every page!)

There are other examples throughout the responsive stylesheets and the effect is that the content is being limited to a tiny portion of the mobile device's screen. I am having to do a TON of customizing to try to override these settings to a max width of 100% and it's a very time consuming and frustrating process. I can't imagine that this is what your designers intended?

Is there something that I'm missing? A setting in the options panel or an easier way to bulk override...? Any shortcuts would be appreciated!

P.S. it seems to be a bigger problem now that I've updated to 9.2 (I was behind almost 10 versions), not sure if something was changed, but for example an image that spans two-third columns on a desktop used to span full width for responsive and now it has a limited width of 260px.

Not sure if that helps you understand any better.

Thank you,
Susana

Comments

  • Hi Susana,

    this line is for mobile devices only. It's not for all devices under 768px. If you will look into another place, you see below css:
    1. /* #Tablet (Portrait) & #Mobile (Landscape) 480 - 767 *
      ===================================================================================================== */
      @media only screen and (min-width: 480px) and (max-width: 767px)
      {
      #Wrapper { max-width: 420px;}

      .section_wrapper,
      .container,
      .four.columns { max-width: 380px !important;}
  • I'm not sure why in my case the section_wrapper was displaying at 260px as I do see how you are overriding the 260px below, but don't you think even 380px is a bit narrow for a 767 screen? That's about half the screen unused!

    I guess the real issue here is that I'd like to suggest offering an option in the theme options panel for boxed layouts to become full screen (un-boxed) at <768. I've managed to customize my own style sheets on this project, but it would be nice if there were a simple option for future uses of your theme.

    I really like the theme and I can tell you've really paid attention to detail! Thanks :-)
  • To be honest, we also have no idea why you had 260px in your case. It's 380px because there is some padding/margin and also some users use external stuff like social stuff, chats, etc on side and that's why there must be a padding on side. But if we'll finish current updates, we'll consider your suggestion.

    Thanks!
  • That's great! Thanks!!
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.