Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #644858

    Hi,
    I am trying to place a sidebar to the right on a product page, where I want to display product categories, but for some reason all the widgets end up under the product image? If I turn on the Enfold Layout builder I can get the sidebar to appear on the right hand side, but then the rest of the product page stops to work and I only get a text area; no shopping functionality whatsoever.

    Enfold editor off: http://education.macsupport.se/produkt/test-product/
    Enfold editor on: http://education.macsupport.se/produkt/test2/

    /Thomas

    #644883

    Hey ThomasNorden,

    Go to Enfold > Sidebar > Sidebar on Single Post Pages > select any sidebar

    Best regards,
    Andy

    #645015

    I have tried it, but either I must be doing something completely wrong or there might be an issue somewhere else. Please see my video capture of my setup:

    https://www.dropbox.com/s/bdaksm6ec3cowzi/Enfold%20sidebars%20not%20working.mp4?dl=0

    /Thomas

    • This reply was modified 8 years, 5 months ago by ThomasNorden.
    #645949

    Hey!

    I am trying to place a sidebar to the right on a product page, where I want to display product categories, but for some reason all the widgets end up under the product image?

    That is the default single product template. If you want to move the sidebar to the left or right side of the product details, please follow the instructions here: https://kriesi.at/support/topic/sidebar-rechts-single-page/#post-580220

    Regards,
    Ismael

    #646290

    Awesome. That did the trick! Is there a similar hack for the sub-category page?

    /T

    #646404

    Hey!

    It should be working for both categories and subcategories, we have a problem with that?

    Best regards,
    Basilis

    #646493

    Hey,
    I now got it to display on every page – how can I turn it off on the “main page” of the shop, where I already display categories.

    http://education.macsupport.se/butik/

    /Thomas

    ps. Kudos for the excellent support that you provide – one great reason for going with your themes!

    • This reply was modified 8 years, 5 months ago by ThomasNorden.
    #647810

    Hey!

    Do you want to disable the sidebar on the category pages? Please add this in the functions.php file:

    add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2);
    function avia_change_post_layout($layout, $post_id) {
        //var_dump($layout);
        if(is_archive() && is_post_type_archive('product'))
        {
            $layout['current'] = $layout["fullsize"];
            $layout['current']['main'] = "fullsize";
        }
        return $layout;
    }

    Best regards,
    Ismael

    #647923

    PERFECT!!!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Can't place sidebar to the right on a product view’ is closed to new replies.