- This topic has 10 replies, 4 voices, and was last updated 4 years ago by
David.
-
AuthorPosts
-
March 10, 2019 at 11:46 am #834835
Eva
Hello!
I’m using a 1400 px container on my website.
The pages are affected with a visual editor, but the blog I think it is preferable to do without an editor. My editor doesn´t work ok on the blog…
I have some questions about the blog with wordpress editor.1. The width of the text should be as big as the pages? I do not want columns, so the entry takes up a lot of width … Can I increase the white margin and reduce the width of the text?
2. To enter any button or call to action, from the wordpress editor is not possible true?
Thank you very much
GP Premium 1.7.8March 10, 2019 at 12:09 pm #834852Leo
StaffCustomer SupportHi there,
1. What if we reduce the container width for the blog and archive page with this CSS?
body.blog .grid-container, body.archive .grid-container { max-width: 1200px; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
2. The blog and archive pages are generated by WordPress itself automatically and cannot be edited like a normal static page. Hooks element is the best way to add content on that page:
https://docs.generatepress.com/article/hooks-element-overview/Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 10, 2019 at 1:22 pm #834903Eva
Hi Leo,
I will try it.
Do you know if it´s compatible to use a visual editor in the posts? I have Trhrive Arquitect.
Thank you very much!March 10, 2019 at 5:27 pm #835030Tom
Lead DeveloperLead DeveloperHi there,
It should be possible to use it in single posts. However, I’m not sure how they will display within your blog/archives.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 10, 2019 at 11:54 pm #835139Eva
Hi Tom,
Your css works correctly, and the general page of the blog has reduced the container to 1200.
The problem is that the individual post are not reduced, and in addition the text appears stuck to the edges. I would like the width of the text to be smaller.
Can you help me?
Look at a specific post to see what I sayThank you very much
March 11, 2019 at 7:03 am #835623David
StaffCustomer SupportHi there,
use this CSS instead:
body.blog .grid-container, body.archive .grid-container, .single-post .grid-container { max-width: 1200px; }
I am not seeing the issue with the padding. Let me know.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 12, 2019 at 3:57 am #836380Eva
Hello David,
Yes, I already solved the text “stuck” to the edges, sorry, it wasn´t good configured.
Ok to the new CSS for single posts.
It looks like this: https://evagarciabernal.com/sesiones-dia-del-padre/
The problem I have is that even if I make the smallest container with CSS, the text is very wide.
For example, with the visual editor I can keep the container wide but make the text block at 800 px (see https://evagarciabernal.com/el-mejor-regalo-para-papa). I can not do that with the wordpress editor and generate press, it´s true??
I tried editing the entry with my editor (thrive architect) but the problem is that my general page of posts (page BLOG) is very misconfigured and wrong.Any solution?
Thank you very much
March 12, 2019 at 4:28 am #836410David
StaffCustomer SupportHi there,
it is doable with this:
.single-post .inside-article, #comments { max-width: 800px; margin-left: auto; margin-right: auto; }
This however will not allow you to have the images aligned wider then the text.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 12, 2019 at 4:57 am #836433Eva
Hello again,
Sorry, I have said the urls badly.
sesiones-dia-del-padre is as I would like it to be seen.
el-mejor-regalo-para-papa is how it looks with the wordpress editorThank you very much
March 12, 2019 at 4:58 am #836435Eva
Ok David,
Thank you!
March 12, 2019 at 5:10 am #836446David
StaffCustomer SupportYou’re welcome
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.