- This topic has 20 replies, 2 voices, and was last updated 9 years, 2 months ago by
Tom.
-
AuthorPosts
-
January 17, 2017 at 6:44 am #264978
Dave Foy
No problem. 🙂
Purely out of interest and understanding in future (this is the last you’ll hear of me on this subject, I promise)…
Let’s say I’ve got a fresh install of GP Premium. I leave Customizer padding settings for container and header both at the default 40px left and right. By default I see that the left edge of the header has a nice 40px breathing room on small screens. Also inside the content container, there’s a nice 40px left padding inside the white box, because you wouldn’t want your content to be flush tight to the edges of that box. And on small screens, it all aligns at the left edge of the screen nicely.
This works if you have a darker body background colour, like the default grey background. But let’s say I want a website with an all white background. See screengrab below:
https://monosnap.com/file/fPBNLpaFJadX0thBia7sAYcuKxKcxu
Now the content in the main content container is out of line, and looks odd. It’s obvious why, of course, because the theme is expecting the body background to be a darker colour to the main content block. And if I remove the padding in Customizer (set left and right padding on the container to zero), of course then the container padding on small screens has disappeared, which is not good.
Do you have any advice in this case for if I need an all white background, using Customizer default settings? Wondering if it’s a fairly common question? Maybe no-one ever wants that?
(It’s not a problem as such because, as you know, I’ve sorted for my situation with custom CSS).
Thanks for your time Tom.
January 17, 2017 at 9:53 am #265042Tom
Lead DeveloperLead DeveloperIn that case, I would remove the content padding and apply padding to the left and right of the body element.
In the next version of GP Premium there’s also content padding options specific for mobile 🙂
January 17, 2017 at 10:34 am #265054Dave Foy
Sounds exactly what I need.
Any very rough ideas on when the next version of GP Premium might be available? I won’t hold you to it. 🙂
January 17, 2017 at 10:35 am #265055Tom
Lead DeveloperLead DeveloperTrying hard for this week – it’s a big release so a lot of testing is needed.
Let me know if you’d like to do some beta testing, should be ready for that in the next day or so 🙂
January 17, 2017 at 11:27 am #265074Dave Foy
I’d love to Tom. Happy for you to put me on the list.
January 17, 2017 at 7:56 pm #265257Tom
Lead DeveloperLead DeveloperI announce beta testing in the FB group 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.