.product_category_brand_box { overflow: hidden; } .brand_category .item { max-height: 85px; min-width: 183px; display: flex; align-items: center; justify-content: center; padding: 10px 15px; margin-right: 15px; } .brand_category .item .img { text-align: center; overflow: hidden; width: 100%; height: 100%; } .brand_category .item .img img { width: 100%; height: 100%; object-fit: contain; } .brand_category .item .title { text-align: center;position: relative;height: 40px; overflow: hidden; } .brand_category .item .title .heading { line-height: 25px; font-size: 15px; text-align: center; margin: 0px 0; position: relative; top: 50%; transform: translateY(-50%); } .brand_category .item .title .heading a { color:#000; } .brand_category .product_category_brand_box .box-content .categories-list { display: grid; gap: 15px; } @media (max-width:1024px) { .product_category_brand_box .item { width: 25%; } .product_category_brand_box .item .title .heading { font-size: 13px; } } @media (max-width:768px) { .product_category_brand_box .item .title .heading { font-size: 12px; } .brand_category .item { max-height: 45px; } } @media (max-width:500px) { .left-menu { display: none; } .product_category_brand_box .item { width: 100%; } .product_category_brand_box .item .title .heading { font-size: 12px; } .product_category_brand_box { display: block; background: transparent; /* overflow-y: hidden; overflow-x: scroll; */ -ms-overflow-style: none; -ms-scroll-snap-type: mandatory; -ms-scroll-snap-points-x: snapInterval(0%,100%); -ms-scroll-chaining: chained; -webkit-overflow-scrolling: touch; position: relative; z-index: 2; margin: 0; width: 100%; } .product_category_brand_box .box-content { display: block; overflow: hidden; /* width: 700px; */ list-style: none; margin-bottom: 0; } .product_category_brand_box .group-item { width: 112px !important; float: left; } } @media (max-width:600px) { .brand_category .item { min-width: 148px; justify-content: flex-start; padding: 0; margin: 0; } } @media (max-width:400px) { .product_category_brand_box .item .title .heading { font-size: 13px; } }.widget_post_style_2 .item { padding:0; overflow: hidden//; margin-bottom: 10px; } .widget_post_style_2 .item .img { height: 500px; width: 100%; } .widget_post_style_2 .item .title {padding:10px; height: unset;} .widget_post_style_2 .item .title .header { font-size: 18px; line-height: 30px; margin:20px 0; } .widget_post_style_2 .item .title .header a { color:#000; } .widget_post_style_2 .post-main .img{ padding-top: 60%; } .widget_post_style_2 .post-list { display: flex; flex-direction: column; overflow: auto; height: 580px; } .widget_post_style_2 .post-list::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); background-color: #F5F5F5; } .widget_post_style_2 .post-list::-webkit-scrollbar { width: 6px; background-color: #F5F5F5; } .widget_post_style_2 .post-list::-webkit-scrollbar-thumb { background-color: var(--theme-color); } .widget_post_style_2 .post-list .item { display: flex; } .widget_post_style_2 .post-list .item .img { padding-top: 28%; } .widget_post_style_2 .post-list .item .img { float: left; width: 220px; height: 200px; } .widget_post_style_2 .post-list .item .img img { width: 100%; height: 100%; object-fit: cover; } .widget_post_style_2 .post-list .item .title { float: left; width:calc(100% - 220px); padding: 10px; } .widget_post_style_2 .post-list .item .title .header { margin: 0 0 10px 0; font-size: 15px; font-weight: bold; color:#000; } .widget_post_style_2 .post-list .item .title .description { text-align: initial; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; /* number of lines to show */ -webkit-box-orient: vertical; } .widget_post_style_2 .item .img .date-box { display: none; } @media(max-width: 500px) { .widget_post_style_2 .post-list .item { flex-direction: column; } .widget_post_style_2 .post-list .item .img { float: left; width: 100%; } .widget_post_style_2 .post-list .item .title { float: left; width: 100%; padding:10px 0; } } .widget_item_style_2 { overflow: hidden; text-align: center; } .widget_item_style_2 .row-flex { position: relative; display: grid; grid-template-columns: var(--item-per-row); gap:10px; align-items: center; } .widget_item_style_2 .service-block { position: relative; display: flex; gap:10px; align-items: center; justify-content: center; } /* .widget_item_style_2 .service-block+.service-block:before { content: ""; position: absolute; border-left: 1px solid #ddd; height: calc(var(--item-height)/2); left: 0; top:20px; } */ .widget_item_style_2 .service-block+.service-block { padding-left: 10px; } .widget_item_style_2 .item { width: 100% !important; margin-bottom: 10px; position: relative; text-align: center; background-position: center; display: flex; width: 80%; align-items: center; gap: 10px; } .widget_item_style_2 .item:before, .widget_item_style_2 .item:after { content: ""; position: absolute; background-repeat: no-repeat; opacity: 0; transition: all .5s; -webkit-transform: scale(.1); transform: scale(.1); z-index: 0; } .widget_item_style_2 .item:before { background-image: url('views/theme-store/widget/item/image/item-before.png'); height: 150px; top: -30px; left: -100px; width: 100%; } .widget_item_style_2 .item:after { background-image: url('views/theme-store/widget/item/image/item-after.png'); height: 200px; bottom: -40px; right: 100px; width: 250px; } .widget_item_style_2 .item.active:after, .widget_item_style_2 .item.active:before, .widget_item_style_2 .item:hover:after, .widget_item_style_2 .item:hover:before { opacity: 1; -webkit-transform: scale(0.3); transform: scale(0.3); } .widget_item_style_2 .item .img { height: var(--item-height); width:var(--item-height); text-align: center; } .widget_item_style_2 .item .img img { width: auto; height: 100%; display: inline-block; border-radius: 5px;padding:5px; margin: 5px; } /* .widget_item_style_2 .item:hover .img img { -webkit-animation: toTopFromBottom .5s forwards; animation: toTopFromBottom .5s forwards; } .widget_item_style_2 .item:hover .img img { box-shadow: 0 0 10px 4px rgba(31,66,135,.1); } */ .widget_item_style_2 .item .title { text-align: left; padding: 10px; width: calc(100% - var(--item-height)); } .widget_item_style_2 .item .title p.heading { color: var(--item-title); font-size: 15px; font-weight: bold; margin: 0 0 10px 0; } .widget_item_style_2 .item .title p.heading a { color: var(--item-title); } .widget_item_style_2 .item .title p.description { color: var(--item-des); font-size: 14px; line-height: 20px; } .widget_item_style_2 .item .title p.description a { color: var(--item-des); } @media (max-width: 768px) { .widget_item_style_2 .row-flex { grid-template-columns: var(--item-per-row-tablet); } .widget_item_style_2 .item .img { height: 50px; } } @media (max-width: 600px) { .widget_item_style_2 .row-flex { grid-template-columns: var(--item-per-row-mobile); } .widget_item_style_2 .item .img img { height: unset; } .widget_item_style_2 .service-block .item { align-items: center; flex-direction: column; } .widget_item_style_2 .service-block .item p.heading { height: 50px; overflow: hidden; } } @media (max-width: 500px) { /* .widget_item_style_2 .item .img { height: auto; } */ }.widget_product_style_1 { overflow: hidden; } .widget_product_style_1 .box-content { overflow: hidden; position: relative; } .widget_product_style_1 .box-content .list-product { padding-top: 20px; } .product-slider-horizontal .item { background-color: #FFF; margin-bottom: var(--bs-gutter-x); } @media (max-width: 600px) { .widget_product_style_1 .box-content .list-product { padding: 0 !important; } }
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/application/helpers/common_helper.php:870 Stack trace: #0 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/views/plugins/badge-management/module/collections.php(46): Option::get() #1 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/libraries/Hook.php(307): ProductBadgeCollections::renderCss() #2 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/libraries/Hook.php(331): WP_Hook->apply_filters() #3 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/plugin.php(453): WP_Hook->do_action() #4 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/views/theme-store/theme-setting/theme-custom-css.php(31): do_action() #5 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/views/theme-store/theme-setting/theme-setting.php(20): include_once('...') #6 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/views/theme-store/theme-setting/theme-setting.php(38): Theme_Style::renderCss() #7 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/libraries/Hook.php(307): Theme_Style::renderCssMinify() #8 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/libraries/Hook.php(331): WP_Hook->apply_filters() #9 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/plugin.php(453): WP_Hook->do_action() #10 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/views/theme-store/include/head.php(10): do_action() #11 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/application/libraries/template.php(708): include('...') #12 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/views/theme-store/template-sidebar-left.php(7): Template::partial() #13 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/core/Loader.php(839): include('...') #14 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/core/Loader.php(420): CI_Loader->_ci_load() #15 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/application/libraries/template.php(346): CI_Loader->view() #16 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/application/controllers/frontend/products.php(13): Template->render() #17 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/system/core/CodeIgniter.php(360): products->index() #18 /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/index.php(224): require_once('...') #19 {main} thrown in /home/dungcuykh/domains/dungcuykhoathammybachtuyet.com/public_html/application/helpers/common_helper.php on line 870