- This topic has 14 replies, 2 voices, and was last updated 6 months, 2 weeks ago by
Leo.
-
AuthorPosts
-
September 17, 2018 at 4:08 am #679049
Javier
Hello I would like to know that I have to modify so that the title of the pages are centered and not left as they are by default.
I just want to center the title of the pages, not the entries.
Thank you.GP Premium 1.7.2September 17, 2018 at 4:31 am #679064David
StaffCustomer SupportHi there,
Try this CSS:
h1.entry-title { text-align: center; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 17, 2018 at 6:09 am #679119Javier
It does not work, I have put it at the end of the style.css file and the title of the page keeps appearing on the left.
September 17, 2018 at 6:15 am #679124David
StaffCustomer Supporti made an edit to the code above. Can you retry.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 17, 2018 at 7:48 am #679203Javier
hi, still not focused. Any other solution?
September 17, 2018 at 7:49 am #679282David
StaffCustomer SupportCan you share a link to the site? You can edit the original topic and use the Site URL field for privacy
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 17, 2018 at 10:24 am #679440Javier
Ok done, The Web is currently under construction and only has one half – built page
September 17, 2018 at 10:30 am #679446David
StaffCustomer SupportI just added that CSS to your site ( via the browser dev tools ) and it works. So can’t see what the issue is?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 17, 2018 at 2:14 pm #679600Javier
Hello, it does not work for me. As you can see, I have the code placed in the geretatepress css file and the title of the page continues to the left … I do not know why I do not fit in the center.
September 17, 2018 at 2:42 pm #679619Leo
StaffCustomer SupportIs that the theme’s CSS file? Definitely not good to edit or add anything in there as it will get erased during updates.
Use one of these methods instead: https://docs.generatepress.com/article/adding-css/
The code definitely should work but we are just not seeing it added.
Once you do let us have another look ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 17, 2018 at 3:06 pm #679626Javier
It finally works! I did it as you indicate through the customizer.
Thank you very much.September 17, 2018 at 6:56 pm #679710Leo
StaffCustomer SupportNo problem ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 3, 2021 at 9:57 am #1990141Adam
how do you apply the “simple css” application to each post?
November 3, 2021 at 10:02 am #1990158Adam
i have used multiple snippets and multiple code adjustments and cannot get the title to center stay left alinged out of the primary container. i am using simple CSS. advice?
November 3, 2021 at 11:07 am #1990235Leo
StaffCustomer SupportCan you open a new topic and link us to the page in question?
Thanks.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.