• Hi,

    this is my first post in this forum which was very helpful for solving different problems in the past (just by searching this forum ;-).

    Unfortunately, I have a problem with a woocommerce store which I could not solve but I have a slight hope that someone in this forum has an idea:

    On a current woocommerce/wordpress version, the sidebar in the shop is missing.
    The shops runs with a -non-woocommerce- photocrati pro theme (latest version) and has been customized via css and via hook modifications.

    In an earliy modification, I switched of the sidebar by hiding it thru css (.single-product .sidebar {display:none;} and by removing the action (remove_action(‘woocommerce_sidebar’,’woocommerce_get_sidebar’,10)).

    As we now need the sidebar, I revoked both modifications but the sidebar is still invisible.
    I also deleted the original shop page and re-installed it thru woo’s tools (still no sidebar).

    Here’s the link to the shop: https://gratus-art.gallery/shop/

    Does anybody has an idea where else I could look for the lost sidebar?

    I should be really glad about any hint…
    Greetz,
    Marcel

Viewing 7 replies - 1 through 7 (of 7 total)
  • I should delete and cached pages, turn off your WP Rocket cache plugin and leave it off until you have the site as you want it. The cache may be showing you an older version of the page instead of your latest test.

    The page markup shows a div with id=”sidebar”, although its empty. Did you put some widgets in it at Appearance > Widgets. I don’t know what your theme is like but in mine I have to drag widgets across and drop them in the Primary Sidebar area.

    Thread Starter schaema

    (@schaema)

    Thanks for the fast and helpful hint.
    Temporarely, I switch off WP rocket and meanwhile, I re-installed the photocrati theme. Now I have the sidebar… just below the content.
    One step further ??
    The div id “container” seems to be to big. I set it temporarely to 50% (sidebar is currently 35%), but the sidebar was still below the shop-content.
    May I ask: do you have any idea?
    Again thanks for your first answer which led me de-active WP Rocket and led me to the reinstallation of the theme.

    Please could you temporarily enable right-click so I can use browser tools.

    Thread Starter schaema

    (@schaema)

    Oh, well…as I work with firebug, I didn’t recognized that rightclick-protection is switched on.
    Hard to say: but I didn’t found where I set the protection on.
    There’s no specific plugin and within the photocrati-stuff, I switched it off… but right-click is still disabled. Argh… from one problem straight into another one… sorry – not shure if I will manage to switch it off (there’s a thread on this photocrati-stuff and the problem that switching the right-click-protection off will NOT switch it off… but that thread was solved via email….
    Meanwhile, I saw that letting the “container” float (left) will show the sidebar beside the content.
    What do you suggest, what would be the best way to let the div id “container” (woocommerce) float?

    Thread Starter schaema

    (@schaema)

    thanks for your help, I temporarily set the container width via css. Now, the sidebar is there (but, of course, on all pages not only on the shop page.
    My intention was to bring back the woo-sidebar within the shop but know it’s the theme-specific sidebar.
    Sorry that I have to ask: any idea?

    I’m lost without right-click!

    To turn off the sidebar on non-shop pages, you would use something like:

    
    .post-type-archive-product:not #sidebar {display:none}
    

    I don’t know there’s any difference between the woo-sidebar and the theme sidebar, aren’t both just sidebars. I can’t help with that.

    Thread Starter schaema

    (@schaema)

    Thanks for your answer. Last night, I throw away the photocrati stuff and switched to a woocommerce theme.
    Now, right click works again and the customizations are much easier ??
    I should now find the way myself.
    Thanks again, especially your last css code looks very promissing to me.
    Regards,
    Marcel

    -topic might be closed-

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sidebar missing’ is closed to new replies.