This post has the sidebar on the left. If no sidebar is active, white space is shown in its place.
Post Sidebar Left

5 Comments on “Post Sidebar Left”
Leave a Comment
You must be logged in to post a comment.
Login
This post has the sidebar on the left. If no sidebar is active, white space is shown in its place.
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:https://www2.maison-chateau-laguiole.fr/boutique/chateau-laguiole-classique-belier/
Lo 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:👍