Full width layout with sidebar
-
Hi there,
Yeah I know, the title sound wierd :p I’m looking for a way to add a full width div to the top of some pages. The aim is to display a full-width div in which HTML can be written, then the content and sidebar just below, side-by-side as normal.

I have two questions:
- There’s the CSS option (relative/absolute position, width 100%…) but I was wondering if there’s another solution possible with GP?
- I tried to create a custom template for this purpose but I don’t see it in the “layout” meta-box. However, I placed the page-fullwidth-sidebar.php in my child-theme (which has been operational for a long time) and added this header:
<?php
/**
* Template Name: Fullwidth with Sidebar
*
* @package GeneratePress
*/Then pasted the contents of page.php into it. Is there any specific handling for the GP theme?
WordPress: v6.8
Theme: GeneratePress 3.5.1 (free version)
functions.php and style.css in child themeThanks ^^
Pierre
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Full width layout with sidebar’ is closed to new replies.
