We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Apr 30, 2019 8:25 AM
Hi there,
Please help me to fix the issue with space on the left for the webpage on mobile. The screenshot is below.
Webpage: https://www.enavate.com/customers
Thank you so much,
Viktoriia
Solved! Go to Solution.
May 1, 2019 9:07 AM
Hey @viktoriia17
I checked out your sites CSS and it seems that there aren't any mobile queries. You could add something like the following to potentially fix this:
@media only screen and (max-width: 600px) { body { padding: 20px; } }
With this added in my browser I get the following:
It still looks like you'll have to update the header and menu hamburger too, but you can alter the above CSS to get your desired results.
Hope this helps!
May 1, 2019 9:07 AM
Hey @viktoriia17
I checked out your sites CSS and it seems that there aren't any mobile queries. You could add something like the following to potentially fix this:
@media only screen and (max-width: 600px) { body { padding: 20px; } }
With this added in my browser I get the following:
It still looks like you'll have to update the header and menu hamburger too, but you can alter the above CSS to get your desired results.
Hope this helps!
May 2, 2019 6:58 AM
Hi,
Yes, this looks good and helpful! Thank you so much for that! What about creating these queries only for the body, not the header and footer? Is there any specific settings for that?
Thank you again,
Viktoriia
May 2, 2019 8:08 AM - edited May 2, 2019 8:09 AM
Hey @viktoriia17
The query that I posted above is just for the body only. If you wanted to target elements in your header like your logo you would do something like:
@media only screen and (max-width: 600px) { .custom-logo { padding: 20px; } }
May 2, 2019 8:14 AM
Okay, got it! thank you so much! Will use that.