Commit 9c3531f4 authored by Chi Bui's avatar Chi Bui 👀

edit ..

parent 56aa9dab
......@@ -746,6 +746,7 @@ input[type=number] {
.menu--category-menu.product {
/* overflow:auto; */
/* max-height: 785px; */
padding-bottom: 40px;
}
.menu--category-menu.product ul.sidebar-submenu-2{
position: relative;
......@@ -13416,10 +13417,15 @@ a {
.search-product .col {
padding: 10px;
}
#views-bootstrap-products-page-list .col{
padding-right: 10px;
padding-left: 10px;
}
.views-view-grid article.commerce-product.teaser{
box-shadow: 0px 0px 7px 0px rgba(0,0,0,.21);
overflow: hidden;
margin-bottom: 15px;
padding: 5px;
}
.search-product .product-wrapper{
......@@ -13460,6 +13466,7 @@ header.navbar .category-menu ul.menu li.less-category{
}
.menu--category-menu.product ul.sidebar-submenu-2 li a{
line-height: initial !important;
white-space: normal;
}
.menu--category-menu .open ul.sidebar-submenu-2 li a{
line-height: 1.5;
......
......@@ -65,13 +65,13 @@ for (i = 0; i < acc.length; i++) {
if(current == "/products"){
$(".menu.menu--category-menu.nav").removeClass('hide-block').removeClass('not-home').addClass('product');
$(".main-container").height($(".menu.menu--category-menu.nav").height()+70);
$(".main-container").height($(".menu.menu--category-menu.nav").height()+110);
}
else if(current.length >= 16){
let currentpathSlice = current.slice(0,17);
if(currentpathSlice == "/product_category" || currentpathSlice == "/search-products"){
$(".menu.menu--category-menu.nav").removeClass('hide-block').removeClass('not-home').addClass('product');
$(".main-container").height($(".menu.menu--category-menu.nav").height()+70);
$(".main-container").height($(".menu.menu--category-menu.nav").height()+110);
}
}
......
......@@ -226,7 +226,7 @@
{# Sidebar First #}
{% if page.sidebar_first %}
{% block sidebar_first %}
<aside class="col-sm-3" role="complementary">
<aside class="col-sm-12 col-md-3" role="complementary">
{{ page.sidebar_first }}
</aside>
{% endblock %}
......@@ -236,8 +236,8 @@
{%
set content_classes = [
page.sidebar_first and page.sidebar_second ? 'col-sm-6',
page.sidebar_first and page.sidebar_second is empty ? 'col-sm-9',
page.sidebar_second and page.sidebar_first is empty ? 'col-sm-9',
page.sidebar_first and page.sidebar_second is empty ? 'col-sm-12 col-md-9',
page.sidebar_second and page.sidebar_first is empty ? 'col-md-9 col-sm-12',
page.sidebar_first is empty and page.sidebar_second is empty ? 'col-sm-12'
]
%}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment