Site logo

Archived topic

Full width Container with Sidebar

3 replies · Started by Kevin on September 28, 2020

Viewing posts 1–4 of 4

Hi, I'm looking for a way to have a Page with full width Container 1 and under these containers 1 a Container 2 with Sidebar.

Is there a way with Elements? Actually, I use Block Element for Widgets.

Best Kevin

Hi there,

you can use a Block Element to create the Container 1 and select Hook > after_header - this will place it above the main content.

The main content can then be set to display Content/Sidebar.

Thx David

That sound great but i think for my solution it`s to much work to do it on every page. See the link i share with you.

How about this.
1. Add the company logo as the Featured Image.
2. Add the company text as a Manual Excerpt.

Now we need a shortcode to display the excerpt - see this topic here:

https://docs.generatepress.com/article/page-hero-examples/#example-4

Then create a Header Element:

Add this template tag to display the image:

{{custom_field._thumbnail_id}}

Followed by the shortcode from the article above to display the excerpt.

This archived topic is closed to new replies.