• Hello! First off, this plugin is great. I’ve tried a few others and found this to be the best! ??

    Only problem I’m having is not really being able to specify a unique target element which would contain the slider only to WooCommerce-related pages (main shop, product view, category view, checkout, etc.)
    What I have tried does nothing, breaks it, or causes multiple instances.
    And I do not know how to add an element id, class or tag to the WooCommerce pages/products.

    It’d definitely be nice to have a simpler way to hide/show it on designated pages.

    I have also tried to use the CSS display property in an attempt to hide it from specific pages, but to no avail. But this is the least ideal method for me anyway.

    Any tips would be appreciated! Thankya!

    • This topic was modified 8 years, 1 month ago by SacredSlang.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author More Karvonen

    (@qumos)

    Hi there!
    Glad you like the plugin ??

    I’m afraid I don’t have much experience with WooCommerce. I can take a look at this in better time, but meanwhile, you can do your own investigations:

    Open a WooCommerce page, right click it and select “Inspect” (works with Chrome and Firefox at least.). Now you get a new window with all HTML content on it. You can hoover over page elements, open hierarchical sections etc. You should try to find “class” definitions inside tags that are specific WooCommerce pages only. If you find one, add it to MojoPlug plugin “target element” field in a format .class-name (dot at the beginning is required).

    Let me know if this didn’t help.

    Thread Starter SacredSlang

    (@sacredslang)

    Thank you for your prompt reply (sorry for my totally late one!).. Unfortunately that’s exactly what I did, I wasn’t able to identify a unique target element which worked. Ah well, it’s okay being present on every page. I hope an easier way toggle it on/off on specific pages becomes a feature someday. ??

    However, now I am finding an issue… potentially a bug? Not sure what’s causing it. Tried playing with different classes and Z-index values, different devices, but nada anyway:

    The slider is working great on Firefox and Internet Explorer, but is not on Chrome or Safari (including mobile). But strangely, on those browsers, it only malfunctions [fails to close when clicked] on specific pages.
    If you have the time to check it out, that’d be awesome. ??
    ~~ https://www.thirdperception.com
    The pages it malfunctions on are the main landing page, About, Contact, & Shop FAQ. Artwork, Shop, and Journal all open/close properly.

    Plugin Author More Karvonen

    (@qumos)

    I can take a look at this later with better time, but with a quick look I suspect that there’s some other plugin conflicting – somehow. You may want to disable temporarily some of them and see what happens. Also, ensure that you have disabled or removed all plugins that you don’t really need – otherwise they will be loaded by a browser and may still cause some conflicts or peformance issues.

    I noticed that you have plugin called Shareholic installed on your site – for showing social media buttons. It seem to run some timer events continuously, which is a bit weird. Shareholic didn’t rank well in this review either (https://www.xfive.co/blog/social-media-buttons-test-performance-privacy-features/), you may want to check some other alternatives. Just a thought.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide on all pages except woocommerce’ is closed to new replies.