Similar to the default post template, with the sidebar on the left. If no sidebar widgets are active, content spans the full container width.
Default Equal Height Equal Height Sidebar Right Masonry Sidebar Left
Post Sidebar Left
/ by Basti | 5 Comments on Post Sidebar Left
Tagged
left-sidebarYou might also like
Post Default
This is the default post template with a sidebar on the right. If no sidebar widgets are active, content spans the full container width.
Post Sidebar None
This post template omits the sidebar, displaying content across the entire container width.
Post Full Width Image
Featured image is displayed as the background with the title overlaid. If sidebar widgets are active, sidebar is on the right.
Post without image but with a longer heading to fill the card
This beautiful post has no featured image. It is only there to show how it fits into the cards, which are all the same height if posts displayed in an equal-height grid. The Read more link is always on the bottom of the cards. So you should fill the content with text to avoid whitespace.
5 Comments on “Post Sidebar Left”
Leave a Comment Cancel
You must be logged in to post a comment.
Lo Rednib
says:Hi !
How could I get the sidebar-1 on the left on content-product.php and content-single-product.php ?
I already have your sidebar in function.php :
// Sidebar
register_sidebar( array(
‘name’ => esc_html__( ‘Sidebar’, ‘bootscore’ ),
‘id’ => ‘sidebar-1’,
‘description’ => esc_html__( ‘Add widgets here.’, ‘bootscore’ ),
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ”,
‘after_title’ => ”,
) );
// Sidebar End
and in sidebar.php :
Lo Rednib
says:maison-chateau-laguiole.fr/boutique/chateau-laguiole-classique-belierLo Rednib
says:I’ve done this :
.site-main > .row {
display: flex;
flex-direction: row-reverse;
}
But I’ll love to know how to load the sidebar.php before my product content.
Basti
says:Hi Lo,
much easier: Check here: https://bootscore.me/documentation/woocommerce/#comment-5038
Lo Rednib
says:👍