Copyright © 2020 Hmart. All Rights Reserved.
require(['jquery','bxslider'],function($){
$(document).ready(function() {
$('.main-slides .main-slider').bxSlider({
auto:true,
pause: 10000,
touchEnabled:true,
oneToOneTouch:true,
swipeThreshold:10,
preventDefaultSwipeX: true,
maxSlides: 5,
slideMargin : 0,
moveSlides: 1,
minSlides: 2,
pager: true,
controls: false
});
slideHeight();
});
$(window).on('resizeEnd', function() {
slideHeight();
});
function slideHeight()
{
if($('.main-slides .main-slider').offset()) {
var slideHeight = 445;
if($('body').width() <= 1200){
var percent = 445/1200 * 100;
slideHeight = percent * $(window).width() / 100;
}
$(".main-slides .bx-viewport").css('height',slideHeight+'px');
$(".main-slides .main-slider .banner-slide").each(function( index ) {
$(this).css('height',slideHeight+'px');
});
}
}
});
.main-slides .bx-clone {display: none;}
.main-slides .bx-wrapper .bx-controls .bx-pager {bottom: 4%;}
.main-slides .bx-wrapper .bx-controls .bx-pager-item a {width: 12px; height: 12px; line-height: 12px;}
.main-slides .banner-slide {background-size: cover; background-repeat: no-repeat; background-position: center center; cursor: pointer;}
.main-slides .bx-wrapper {border: 0 !important;}
require(['jquery','bxslider'],function($){
$(document).ready(function() {
if(jQuery(window).width() < 768 ) {
$('.product-slider .product-items').bxSlider({
auto: false,
touchEnabled: true,
oneToOneTouch: true,
swipeThreshold: 10,
preventDefaultSwipeX: true,
maxSlides: 6,
slideWidth: 200,
slideMargin: 0,
moveSlides: 1,
minSlides: 2,
pager: false,
controls: true,
prevText: '<span class="icon fa fa-angle-left">',
nextText: '<span class="icon fa fa-angle-right">'
});
}else {
$('.product-slider .product-items').bxSlider({
auto: false,
touchEnabled: true,
oneToOneTouch: true,
swipeThreshold: 10,
preventDefaultSwipeX: true,
maxSlides: 6,
slideWidth: 200,
slideMargin: 0,
moveSlides: 2,
minSlides: 6,
pager: false,
controls: true,
prevText: '<span class="icon fa fa-angle-left">',
nextText: '<span class="icon fa fa-angle-right">'
});
}
});
});
.products-slider span {vertical-align: middle;}
Weekly Deals
-
Cooked White Rice with Stir-Fried Kimchi 8.65oz(247g)Special Price $3.99 Regular Price $4.49Rating:100% of 100
-
Premium Roasted Seaweed Value Pack (Original+Green Laver) 0.15oz(4.25g) 16 PacksSpecial Price $5.99 Regular Price $7.49
-
Premium Roasted Seaweed (Green Laver) 0.15oz(4.25g) 16 PacksSpecial Price $5.99 Regular Price $7.49
-
Cooked White Rice with SoyBean Paste Bibimbap 9.8oz(280g)Special Price $3.99 Regular Price $4.49Rating:87% of 100
-
Cooked White Rice with Bean Sprout Soup 9.52oz(270g)Special Price $3.99 Regular Price $4.49Rating:80% of 100
-
Cooked White Rice with Stir-Fried Jjajang 9.6oz(275g)Special Price $3.99 Regular Price $4.49Rating:95% of 100
-
Cooked White Rice with Yellow Cream Curry 9.8oz(280g)Special Price $3.99 Regular Price $4.49Rating:100% of 100
-
Cooked White Rice with Soft Tofu Stew 6.1oz(174g)Special Price $3.99 Regular Price $4.49Rating:100% of 100
.main-online-specials p {text-align: center; font-size: 1.4rem; font-weight: bold;}
.main-online-specials img {width: 86%; margin: 7%;}
.main-online-specials .mobile {display: none;}
.main-online-specials a:hover img {opacity: 0.9;}
a:hover,
a:active {
outline: none;
box-shadow: none !important;
}
@media screen and (min-width: 769px){
}
@media screen and (max-width: 768px) and (min-width: 480px){
.main-online-specials p {text-align: center; font-size: 1.4rem; font-weight: bold;}
.main-online-specials .mobile {display: none;}
}
@media screen and (max-width: 479px) {
.main-online-specials .pagebuilder-column-group {flex-flow: initial;}
.main-online-specials p {text-align: center; font-size: 1.15rem; font-weight: bold; padding: 0;}
.main-online-specials .mobile {display: block;}
}
.products-slider span {vertical-align: middle;}
New ArrivalsSee More
.featured .main-title span {vertical-align: middle;}
.featured .banners {display: flex; border-top: 1px solid #ddd;}
.featured .small-banner-wrapper {display: flex;}
.featured .small-banner-wrapper .small-banner {border-right: 1px solid #ddd;}
.featured .banners img {display: block; width: 100%;}
@media screen and (max-width: 479px) {
.featured .banners {display: block; border-top: none;}
.featured .big-banner {width: 100%;}
.featured .small-banner-wrapper {display: block; overflow: hidden; border-right: 1px solid #ddd;}
.featured .small-banner-wrapper .small-banner {width: 50%; float: left; border-top: 1px solid #ddd; border-left: 1px solid #ddd; border-right: none; box-sizing: border-box;}
}
FeaturedSee More
-
Matcha Green Tea Chamomile Tea Bags 0.05oz(1.5g) 20 Tea BagsSpecial Price $5.49 Regular Price $5.99
-
Mul Naengmyeon (Korean Cold Noodle) 25.40oz(720g)Special Price $5.49 Regular Price $5.99Rating:100% of 100
-
Bibim Naengmyeon (Korean Spicy Cold Noodle) 25.40oz(720g)Special Price $5.49 Regular Price $5.99Rating:100% of 100
.health-beauty-product .main-title span {vertical-align: middle;}
.health-beauty-product .banners {display: flex; border-top: 1px solid #ddd;}
.health-beauty-product .small-banner-wrapper {display: flex;}
.health-beauty-product .small-banner-wrapper .small-banner {border-right: 1px solid #ddd;}
.health-beauty-product .banners img {display: block; width: 100%;}
@media screen and (max-width: 479px) {
.health-beauty-product .banners {display: block; border-top: none;}
.health-beauty-product .big-banner {width: 100%;}
.health-beauty-product .small-banner-wrapper {display: block; overflow: hidden; border-right: 1px solid #ddd;}
.health-beauty-product .small-banner-wrapper .small-banner {width: 50%; float: left; border-top: 1px solid #ddd; border-left: 1px solid #ddd; border-right: none; box-sizing: border-box;}
}
Health & BeautySee More
.home-kitchen-product .main-title span {vertical-align: middle;}
.home-kitchen-product .banners {display: flex; border-top: 1px solid #ddd;}
.home-kitchen-product .small-banner-wrapper {display: flex;}
.home-kitchen-product .small-banner-wrapper .small-banner {border-right: 1px solid #ddd;}
.home-kitchen-product .banners img {display: block; width: 100%;}
@media screen and (max-width: 479px) {
.home-kitchen-product .banners {display: block; border-top: none;}
.home-kitchen-product .big-banner {width: 100%;}
.home-kitchen-product .small-banner-wrapper {display: block; overflow: hidden; border-right: 1px solid #ddd;}
.home-kitchen-product .small-banner-wrapper .small-banner {width: 50%; float: left; border-top: 1px solid #ddd; border-left: 1px solid #ddd; border-right: none; box-sizing: border-box;}
}