Tagged: archive, Author Page, sidebar
Hi,
I’ve chosen to display my archive pages without sidebar.
But is it possible to make it appear only on my author page (http://www.newpointdeview.com/author/anton-malafeev/) ?
Hey Anton!
Set it to display and then send us links to your other archive pages and we’ll give you CSS to hide it.
Cheers!
Elliott
Sidebar set in archives.
Here’s an exemple : http://www.newpointdeview.com/mag/
BTW, is it possible to install custom sidebars for archives ?
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.archive.category .content {
width: 100%;
border: none;
}
.archive.category .sidebar {
display: none!important;
}
You can install this plugin – https://wordpress.org/plugins/widget-logic/ and add condition as following
is_archive()
Best regards,
Yigit
This code makes disappear the sidebar only in category pages, not in archives :
Archive
Category
Author page
Hey!
Please change the code to following one
.archive.category .content,.archive.tag .content {
width: 100%;
border: none;
}
.archive.category .sidebar, .archive.tag .sidebar {
display: none!important;
}
If that does not work, please create a temporary admin login and post it here privately.
Regards,
Yigit
It’s works now
But type pages still show the sidebar
I added
.archive.tag .sidebar {display: none !important;}
but doesn’t work. What’s the right code for that ?
Hey!
Please try the code as following
.archive.tax-post_format .content {
width: 100%;
border: none;
}
.archive.tax-post_format .sidebar {
display: none!important;
}
Best regards,
Yigit
Great, that works now
Thank you
Resolved.