Making mobile width full screen & logo shrinking.

edited August 2016 in Other
Hey there,

I'm having issues in getting the mobile version of this page https://socialrunner.net/introducing-brand-new-help-center/ go to the edges of the screen. 

I can do it by creating a mobile section & a desktop section, however I only want to have the 1 section.

I can make it go full screen by selecting "full width" in the section settings, but then on desktop it goes all the way to the edges of the screen too, which isn't good.

Also I would like to know why the logo on our home page gets smaller when you scroll down the page, essentially I'd just like it to stay the same size, not shrink.

Any help is appreciated!

Thanks

Comments

  • Hi,

    1. To make your site full width, you need to set up Full Width class for the section. We do not have any other option that can be used instead.

    2. This is how sticky logo works. It's always smaller when header is sticky. However, if you want to keep the same size, you need to use:
    #Top_bar.is-sticky #logo img:not(.svg) { max-height: 60px !important; }
    #Top_bar.is-sticky #logo { padding: 0 !important; }
    #Top_bar #logo img { vertical-align: initial !important; }
  • Thanks for that. 

    So is there no CSS I can change to make it full width on mobile only?
  • Like we wrote above, you can make it full width if you will use FULL WIDTH style for the section.
  • Yes, but if I do that it goes full width on desktop and tablet as well, I only want it to go full width on mobile, not all devices, how can I do that? Is there no mobile css I can change to make it go full width on mobile only?
  • Alright, I used the CSS that you posted in another thread and it worked perfectly!

    And the logo size is also fixed with your help!

    Thanks a lot, here's the code if anyone else need to make their mobile version full width without the desktop going full width also!

    @media only screen and (max-width: 767px) {
        .section_wrapper, .container, .four.columns .widget-area { max-width: 95% !important; }
    }
  • Great, glad to know that this css helped.
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.