Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #664735

    Hi,

    quick question (with hopefully a quick solution).
    I want to disable the standard “displayed everywhere” sidebar for some products, not all of them. I have some products that are only available to existing clients and some have to be open for everyone. For those who can be bought by anyone I want to disable the sidebar but maintain the sidebar for all further products.
    One of the reasons is that the sidebar is not being shown correctly when logged out (for whatever reason…) which appears unprofessionally.

    So far I have disabled sidebar everywhere and tried to enable it via custom fields (there is an option called sidebar), but not anything I’ve come up with worked. I tried parameters like yes, no, disable, enable, or just wrote the name of the certain sidebar I wanted to choose.

    Any solution? :(

    Thanks in advance,
    Patrick

    #664924

    Hi,

    Can you post the link to the Products in question? and a mockup of what do you want to achieve?

    Regards,
    Josue

    #666268

    Hi,

    The products for the membership plans are not to be seen publicly, the normal ones are in the private content area. All I want is to disable the sidebar completely for only these products but not for any other.

    Cheers,
    Patrick

    #666776

    Hi,

    You could use CSS to hide them, try these codes in Quick CSS:

    .postid-400 .sidebar,
    .postid-660 .sidebar,
    .postid-1164 .sidebar,
    .postid-1087 .sidebar {
        display: none !important;
    }
    
    .postid-400 .content, 
    .postid-660 .content,
    .postid-1164 .content,
    .postid-1087 .content{
        border: 0;
        width: 100% !important;
    }

    Best regards,
    Josue

    #667495

    though it looks logical and seems right – it doesn’t work :(

    #668801

    Hi,

    I’m not seeing the code neither in Quick CSS nor child style.css

    Best regards,
    Josue

    #669501

    Of course, I deleted it once I saw it didn’t work.
    You could try it yourself, yet I don’t think there’ll be much difference.

    #669547

    Hi,

    Can you please create me a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #669751

    Strangely for some reason I can’t see the private data anymore of the account details, but of course here again the account for you:

    #670471

    Hi,

    Ask your host to clear the mode_pagespeed cache so the changes reflect.

    Best regards,
    Josue

    #675476

    Works fine now, thank you very very much :)

    #675492

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘disable sidebar for certain products (designed with advanced layout editor)’ is closed to new replies.