- This topic has 17 replies, 4 voices, and was last updated 1 month, 4 weeks ago by
Fernando.
-
AuthorPosts
-
March 28, 2023 at 10:31 am #2585993
Karol Öman
Hey how can I make a similair blog post layout like the one in the private code area. With the logo a custom text saying the bonus and a button to that site?
March 28, 2023 at 10:42 am #2586027Ying
StaffCustomer SupportHi there,
Do you mean the black background hero section?
You can create a block element – page hero, in the block element, use the Grid block of GenerateBlocks plugin to have 2 columns of content.
You can use the dynamic data feature of the Headline block and Image block to pull the data stored in the posts custom fields dynamically.
March 28, 2023 at 10:55 am #2586042Karol Öman
Hey, what about the button? Each blog post needs to link to a different page.
March 28, 2023 at 11:59 am #2586121Ying
StaffCustomer SupportGB’s button block can also pull dynamic data: https://docs.generateblocks.com/article/button-overview/
March 29, 2023 at 5:23 am #2587022Karol Öman
Hey, so how can I make 1 container to 100% width and the rest to 1000px?
March 29, 2023 at 5:49 am #2587054David
StaffCustomer SupportHi there,
you would:
1. make a Full width page by setting the Content Container to Full Width:
https://docs.generatepress.com/article/content-container/
2. Now add a Container Block to the page, by default it will be full width.
Give it some Spacing > Padding.3. If you want a 1000px wide container then.
Add a Container Block to the page and from the Toolbar choose the Add Inner Container option:
https://docs.generateblocks.com/article/add-inner-container/
With the inner container selected, Give it some Spacing > Padding. And in Sizing set its max-width.
Note the
max-width
can use the Global setting set in Dashboard > GenerateBlocks > Settings.March 29, 2023 at 6:52 am #2587148Karol Öman
Hey, I did as you mentioned it still didn’t go 100% width the container with green background and the white spacing above the green container should also be removed like on my first page. In my editor the green is 100% width but not on the page.
March 29, 2023 at 5:57 pm #2587993Fernando Customer Support
Hi Karol,
So we can take a look at why it isn’t working, can you share admin login credentials?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
March 29, 2023 at 11:52 pm #2588207Karol Öman
Hey added
March 30, 2023 at 12:14 am #2588234Fernando Customer Support
You have a Content Template – “Blog Post Template Design” which is causing the issue.
Try setting it to draft or make sure you don’t set it to display on the page in question.
March 30, 2023 at 12:44 am #2588268Karol Öman
Hey, yes it worked but then a second image and title appear at the top…
March 30, 2023 at 1:39 am #2588339Fernando Customer Support
You can create a Layout Element for that page, and disable the Content Title and Featured image for that page: https://docs.generatepress.com/article/layout-element-overview/#disable-element
March 30, 2023 at 2:09 am #2588382Karol Öman
Hey, almost now how can I remove the author?
March 30, 2023 at 5:20 pm #2589660Fernando Customer Support
Would it be just for the page in question or all posts?
One way would be to create a Block Element – Page Hero and disable those from there: https://docs.generatepress.com/article/block-element-page-hero/#disable-featured-image
You can leave the content of the Page Hero empty.
March 30, 2023 at 10:49 pm #2589906Karol Öman
Hey, I only want to display the date on specific posts.
-
AuthorPosts
- You must be logged in to reply to this topic.