Archived topic
Sidebar option has disappeared from blog page. Trying to hook element in page
5 replies · Started by Brad on January 28, 2022
Very odd. Described below in detail with screenshots. Sincere thanks in advance for assistance.
1.
new element - block - content template
Display - all post 840 px wide container
(Screenshot)
https://www.dropbox.com/s/3qebly8yy0wb1ji/IMG_7582.jpg?dl=0
Objective: replace default posts design leaving the sidebar to the right
Dynamic feature image.. Dynamic title / content, categories buttons etc
Layout container 100% with image on top; content next row, etc
840 wide container leaving 300 px open for sidebar. (Content/sidebar)
2.
New element - block - hook - generate_before_right_sidebar_content
Display - all post 300px wide container
(Screenshot)
https://www.dropbox.com/s/7qksbv90olu9je9/IMG_7579.jpg?dl=0
Designed this to be placed above widget area within the open 300 px sidebar.
I have this working on another site. Not sure why the "sidebar" disappeared here.
3.
Customizer - sidebar missing / widget area missing - Screenshot links
https://www.dropbox.com/s/yp1kknyk1j9ej32/IMG_7580.jpg?dl=0
https://www.dropbox.com/s/kdoiix09zsr58ls/IMG_7581.jpg?dl=0
4.
I duplicated the element in number 2 above and placed in above the footer hook on a single blog post just for a screen shot so you can see what this would look like. Just imaging it in portrait view.
https://www.dropbox.com/s/fo5w5j0r51tvxuc/IMG_7583.jpg?dl=0
Hi Brad,
Your blog page and single post page are set tono sidebar.
Go to customizer > layout > sidebar, check the settings, if the settings are correct, go to appearance > elements, check if there's a layout element which sets blog and posts to no sidebar.
By the way, the editor width is only to give you an idea when you are editing the element, it only effects the editor, the value won't reflect on front end.
No, the blog page is set to no side bar.
The single post page is set to content / side bar.
This should work, yes.
Oh wait. In car on iphone. Will look when on desktop for layout element and get back to you.
So it's working now?
If not, go check the layout element.
Hey it was a layout rule!!!!
Sincere thank you!!
Added an exclude rule for all single posts!
Great!
You are welcome :)