Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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!

    #76578

    This is the same issue as http://www.kriesi.at/support/topic/sidebar-on-single-product-page

    I think many people would really appreciate a solution to this.

    #76579

    Somebody, please? Sorry to nag.

    #76580

    Open up sidebar.php and replace:

    if($subNav && isset($post) && is_object($post) && !empty($post->ID) && is_page())

    with:

    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.

    #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.

    #76582

    Would be fantastic if the developer could comment on this!

    #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' );

    ro read:


    get_template_part( 'includes/loop', 'portfolio-single' );

    you might also want to attach


    get_template_part( 'includes/related-portfolio-posts');

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Move menu on single product page’ is closed to new replies.