May 26, 2012 at 7:06 pm #12745
I’ve chosen to put the menu to the left in theme Propulsion.
This looks nice on all pages but the single product page. On the Blog page for instance there is a left-hand sidebar with the menu in it, showing the way you would think.
But on the single product page the product image and the add to cart button is pushing down the sidebar and the menu. I would like the sidebar and menu to show on top on the left column pushing the product image to the right, creating a center column. How can I alter the css to make this happen?
Many thanks!May 28, 2012 at 8:42 pm #76578
This is the same issue as https://kriesi.at/support/topic/sidebar-on-single-product-page
I think many people would really appreciate a solution to this.May 29, 2012 at 7:47 am #76579May 31, 2012 at 6:16 am #76580
Open up sidebar.php and replace:
if($subNav && isset($post) && is_object($post) && !empty($post->ID) && is_page())
if($subNav && isset($post) && is_object($post) && !empty($post->ID) && is_page() && ! is_product() )
This will remove the page menu from product single pages. I’m not sure if it’s possible to create the 3 column structure without some major code changes however I marked this thread for Kriesi – maybe he can provide something.May 31, 2012 at 6:45 am #76581
Thanks Dude but this is not what I am trying to accomplish. :)
I don’t want to remove the sidebar. I want to sidebar to show top left. Not under the product image but to the left of it. The exact same place as in all other pages.
This would make a more consistent layout.
Cheers.June 4, 2012 at 7:02 am #76582June 21, 2012 at 7:27 pm #76583
Sorry for the alte response, thread must have slippe through:
I think probably the easist way would be to open single-portfolio.php and page.php, then copy the contents from page.php to single-portfolio.php
and then modify:
get_template_part( 'includes/loop', 'page' );
get_template_part( 'includes/loop', 'portfolio-single' );
you might also want to attach
The topic ‘Move menu on single product page’ is closed to new replies.