Archived topic
Mobile Article content too close to end-screen
5 replies · Started by JM on January 15, 2022
Hi. I am facing a weird issue with the theme, I set an element for the posts and chose a standard template, for some reason, in the mobile version, the article content text is too close to the edges of the screen, I have been trying to work it out but its not working, how can I make the text of the post not stick too close to the edges of the phone?
Hi there,
Any chance you can link us to the site in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
yes, sure, linked in private info
Looks like you are using the Contained content container which removes the padding by default:
https://docs.generatepress.com/article/content-container/#contained
I believe using Default would work better in your case.
Then you can simply use headline blocks or paragraph blocks to build your post content and avoid GB containers.
I understand that, but its nearly impossible for me to replicate exactly how I want the site to look without those containers, they make things a lot easier because they're part of an integral plugin that I used to create the theme demo in mind.
I tried to do it without containers but the regular wordpress blocks don't load [example category]. even so, the process would become 10 times more difficult, do you have any way I can control the padding in the container?
but its nearly impossible for me to replicate exactly how I want the site to look without those containers
Hmm I can't see where you would have trouble without the containers?
I tried to do it without containers but the regular wordpress blocks don’t load [example category].
Not sure if I understand what you are referring to here.
You would need to add paddings for mobile to the GB container on the very outside:
https://docs.generateblocks.com/article/container-overview/#spacing
But that isn't the best practice.