Hey there alfvit66,
Hope you’re well today!
Singe wiki is using single.php of your theme to display wiki post. If you’re looking to remove the sidebar on those page I guess the easiest way without modifying the code too much would be to hide it with some custom CSS.
Could you please post link to your site so I can provide the CSS to remove sidebar from wiki pages?
Looking forward for your reply 🙂
Best regards,
Bojan
Great support
here my website http://www.seidibeneventose.it
here the page were wiki plugin is shown
http://seidibeneventose.it/wikiBenevento/indice/
Tnx a lot!
Hey again alfvit66,
Thanks for the link. Could you please try adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:
http://ww.wp.xz.cn/plugins/simple-custom-css
.single-incsub_wiki div#content-sidebar {
display: none;
}
.single-incsub_wiki div#content {
margin-right: 0;
}
.single-incsub_wiki .hentry {
max-width: inherit;
}
.single-incsub_wiki .post-thumbnail {
text-align: center;
background: none;
}
.single-incsub_wiki .site-content .entry-content {
max-width: inherit;
}
This should be the result http://screencast.com/t/0B24icyee.
Please let me know if this helps 🙂
Best regards,
Bojan
Oh yes. Your solution work fine!
I’ve just implemented as you suggest.
Thanks again!
Best.
A.
Is possible to hide the sidebar just on the visualization for some tab (for example “History” Tab)?
Hey again alfvit66,
This can’t be done with just CSS but it would rather require using jQuery.
Unfortunately I’m not proficient enough in order to provide such modification and you will most likely have to hire a developer to assist you further with that.
Best regards,
Bojan
Please let me know if you have additional questions 🙂
Best regards,
bojan