-
AuthorPosts
-
July 25, 2016 at 5:50 pm #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,
PatrickJuly 25, 2016 at 11:17 pm #664924Hi,
Can you post the link to the Products in question? and a mockup of what do you want to achieve?
Regards,
JosueJuly 28, 2016 at 3:12 pm #666268Hi,
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,
PatrickJuly 30, 2016 at 5:44 am #666776Hi,
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,
JosueAugust 1, 2016 at 11:19 pm #667495though it looks logical and seems right – it doesn’t work :(
August 5, 2016 at 4:18 am #668801Hi,
I’m not seeing the code neither in Quick CSS nor child style.css
Best regards,
JosueAugust 7, 2016 at 5:20 pm #669501Of 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.August 8, 2016 at 1:49 am #669547Hi,
Can you please create me a WordPress administrator account? post it here as a private reply.
Regards,
JosueAugust 8, 2016 at 11:28 am #669751Strangely for some reason I can’t see the private data anymore of the account details, but of course here again the account for you:
August 9, 2016 at 6:30 pm #670471Hi,
Ask your host to clear the
mode_pagespeedcache so the changes reflect.Best regards,
JosueAugust 22, 2016 at 12:50 am #675476Works fine now, thank you very very much :)
August 22, 2016 at 2:20 am #675492You are welcome, glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘disable sidebar for certain products (designed with advanced layout editor)’ is closed to new replies.
