Hello,
I would like to have a smaller sidebar width, but only in certain areas of the site. For example in the product tag pages, but not in the blog posts
I tried with
@media only screen and (min-width: 1140px) {
aside.sidebar.sidebar_right.smartphones_sidebar_active.alpha.units {
width: 13% !important;
}
.container .av-content-small.units {
width: 86%;
}
}
but it is reducing the width in all sidebars
Thank you
Mauro
Hi profumopuntoit,
Try using this CSS code:
@media only screen and (min-width: 1140px) {
#top.archive.tax-product_tag #main .sidebar_right {
width: 13%;
}
#top.archive.tax-product_tag #main .content {
width: 86%;
}
}
Hope it helps.
Best regards,
Nikko
Thank you Nikko,
it is working adding
display: table-row;
#top.archive.tax-product_tag #main .sidebar_right {
width: 13%;
display: table-row;
}
Thank you
Mauro
Hi Mauro,
Can you try to remove display: table-row; and replace #top.archive.tax-product_tag #main .sidebar_right with #top.archive.tax-product_tag #main .sidebar.sidebar_right and see if it helps. (there are 2 areas that uses the class sidebar_right)
Best regards,
Nikko
Thank you Nikko,
it is working