Archived topic
JAVA Theme Post Template
5 replies · Started by bearbully on September 11, 2021
Hi, I am using GP Java theme.
How can I create another post template, instead of using the default one (https://gpsites.co/java/your-amazing-blog-post/) ?
I hope to create one that is similar to the page template (https://gpsites.co/java/menu/), where the content width is wider.
Thanks.
Hi there,
To clarify, do you want to make the space wider for the single post pages similar to static pages?
If you want a separate settings for the post pages, you can create a separate layout element for it with display rule location set to "Posts - all posts" and set the Content Area to 'Full-width (no padding)' similar to "GenerateBlocks Pages" Layout element that comes with JAVA.
Alternatively, if you don't want to make the post page full-width but change the container width, you can do that on Appearance > Customize > Layout > Container as well and set the Container Width to more than 1200px. (1200px is the default for GP)
Hi Elvin, thank for the reply.
To clarify, do you want to make the space wider for the single post pages similar to static pages?
yes
If you want a separate settings for the post pages, you can create a separate layout element for it with display rule location set to “Posts – all posts” and set the Content Area to ‘Full-width (no padding)’ similar to “GenerateBlocks Pages” Layout element that comes with JAVA.
- I have created a Layout as recommended, and apply Display Rules Post only to the selected post. But it dont seems to work.
Alternatively, if you don’t want to make the post page full-width but change the container width, you can do that on Appearance > Customize > Layout > Container as well and set the Container Width to more than 1200px. (1200px is the default for GP)
I have set the contained withd to 2000ppx but it does not seems to work too, any other recommendations?
Can you check the list of your GP Elements if there are any other Layout Elements active? A Layout element to be adding 800px max-width to your post pages.
Thanks Elvin
No problem. :D