Archived topic
2nd Sidebar inside Entry Content
10 replies · Started by jonathan on March 29, 2023
Hi, I'm looking to achieve a particular layout in which the second sidebar is inside the Entry Content of the page like this:
Thanks for any help!
Hi there,
hmmm.... tricky one, so lets ask some questions :)
Will this be across the entire site?
And do you use the Block Editor ?
Hi David,
Thanks. If it's a hassle, I might just bag it. It would be across the whole site. I thought maybe I could remove it with a filter, and hook it into the page content section, then position it with CSS.
Thanks for any thoughts!
Jon
Simplest option maybe to set the Sidebar Layout to Content / Sidebar / Sidebar.
Then try and figure out how to float the far right sidebar up.
Good suggestion, Thanks David. Hey quick question if you gotta sec. Any reason why my video page header isn't resizing on mobile (https://docs.generatepress.com/article/page-hero-background-video/)
https://buildcitywide.spin350.com/
I've used this technique on like a gazillion projects, but for some reason it's waaaayyyyy overflowing in the viewport.
Thanks!
Jon
Hi Jon,
Can you try adding this CSS?
.page-hero video.background-video {
max-width: 100%;
}
Weird, still not working: https://buildcitywide.spin350.com/
I'm not seeing it on your site, have you cleared the cache?
And i updated the CSS to a simpler version :)
I added the simpler version to the media query, and it's still overflowing:
thx
Thanks for your help Ying! It looks like a second bracket was missing on the opening media query, somehow causing the problem. Once I added it, the video resized perfectly.
Glad to hear that :)