Archived topic
H1 and Content Problem on Mobile Frontend
5 replies · Started by Mihail on January 14, 2022
Hello!
I redesigned my entire website using GeneratePress and GenerateBlocks. I just got off the staging environment on my hosting and pushed the website live. Everything works fine except for two things.
1. When I saw the live website from the mobile front-end, the H1 tag was too big and not center-aligned. However, from the editor's perspective, everything looks fine. Even though I update the article, it doesn't change on the front-end, and still appears big and awkward. I use Elements to achieve this.
Below, I uploaded two photos where you can see the problem occurring.
Front end - https://imgur.com/a/ch3UR0X
How it appears in the back end (I want to achieve this look) - https://imgur.com/a/h4QtRVD
2. I try to add a 15 px left margin to my Element -> Content Template because the content is "glued" to the left side of the screen on mobile. Everything is good on the back end, but when I see the front-end mobile website, it isn't updated whatsoever. You can see the issue below.
https://imgur.com/a/HUhLs0Z
How do I fix these issues?
I really appreciate any help you can provide.
Mihail
Hi Mihail,
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 :)
Thanks for the reply!
I just added the login and password credentials.
Many thanks for considering my request.
For issue 1, it looks normal to me on front end:
https://www.screencast.com/t/XZeJo6PO
For issue 2, go to appearance > elements > content (layout element), set it to defaultinstead of full width, then the theme default padding will apply: https://www.screencast.com/t/c9CwqSlg
Thank you for the help. Everything works well now.
Is it usual to have a waiting period when I update the elements in Generatepress until the updates appear live on the website?
Is it usual to have a waiting period when I update the elements in Generatepress until the updates appear live on the website?
No - it sounds like you have some sort of caching issue. Make sure to clear plugin and server cache if you are using them.