FREE SHIPPING • FREE RETURNS • FREE EXCHANGES
Menu
MENU
|
0
Shop
Tech
Press
Editorial
About
Contact
Login
|
USD
CAD
AUD
GBP
EUR
HKD
TWD
NZD
CNY
FREE SHIPPING • FREE RETURNS • FREE EXCHANGES
Shop
Tech
Press
Editorial
About
Contact
0
Your Cart is Empty
Continue Shopping
$0.00
Subtotal
Checkout
USD
CAD
AUD
GBP
EUR
HKD
TWD
NZD
CNY
Login
INTRODUCING
THE NEW AND IMPROVED
CORPORATE XSUIT
SHOP NOW
xSuit
xBand
Collections
xSuit
xCorporate
Corporate Suit Black
Corporate Suit Charcoal
Corporate Suit Grey
xSport
Sport Suit Black
Sport Suit Grey
xShirt
xShirt Ivory
xShirt Noir
xTee
xTee
xBand
Lava Stone
Jasper Skull
Onyx Bead
Palladium Loop
Topaz Braid
Obsidian Anchor
Rhodium Cylinder
Opaque Twist
Chrome Screw
Titanium Buckle
Platinum Twist
Leather Nail
Diamond Nail
xCorporate
NEW
Corporate Black Suit 2.0
$498.00
NEW
Corporate Navy Suit 2.0
$498.00
Corporate Suit Black
$398.00
$498.00
Corporate Suit Charcoal
$398.00
$498.00
Corporate Suit Grey
$398.00
$498.00
xSport
Sport Suit Black
$398.00
$498.00
Sport Suit Grey
$398.00
$498.00
xShirt
xShirt Ivory
$119.00
xShirt Noir
$119.00
xTee
xTee
$59.00
$95.00
xBand
Lava Stone
$49.00
$100.00
Jasper Skull
$49.00
$100.00
Onyx Bead
$49.00
$100.00
Palladium Loop
$49.00
$100.00
Topaz Braid
$49.00
$100.00
Obsidian Anchor
$49.00
$100.00
Rhodium Cylinder
$49.00
$100.00
Opaque Twist
$49.00
$100.00
Chrome Screw
$49.00
$100.00
Titanium Buckle
$49.00
$100.00
Platinum Twist
$49.00
$100.00
Leather Nail
$49.00
$100.00
Diamond Nail
$49.00
$100.00
Collections
All Products
Jackets
Jckt2
Pants
Pnts2
Sales
Tops
TwoPointO
x-shirt-m
xBand
xCorporate
xShirt
xSport
xTee
xTee
xTee
$59.00
$95.00
"Wearing suits used to drive me nuts. Now I finally have a suit that I actually WANT to wear. This suit is so comfy for lounging, working, and even heading to the club in."
Darrel M.
`); window.onerror = function(message, source, lineno, colno, error) { if (error) message = error.stack; ga('send', 'event', 'window.onerror', message, navigator.userAgent); }; $('select.currencies').val(initCurrency).change(); $('select.currencies').change(function(){ var nv = $(this).val(); $('select.currencies').each(function () { if ($(this).val() != nv) { $(this).val(nv).change(); } }); }); //$(document).click(function(e){ // if(e.target==$('.mobile_nav.dropdown_link')[0]){ // showMobileDropdown(); // }else{ // hideMobileDropdown(); // } //}); //$($('#shopify-section-header .secondary_logo--true .menu.left .vertical-menu')[0]).children().each(function(){ // if($(this.children[0]).attr('href')=="/blogs/news"){ // $(this.children[0]).attr('href','https://houseofx.co/'); // } //}); //$('#shopify-section-header #header.mobile_nav-fixed--true .dropdown_container .dropdown .menu').children().each(function(){ // if($(this.children[0]).attr('href')=="/blogs/news"){ // $(this.children[0]).attr('href','https://houseofx.co/'); // } //}); } //$('#shopify-section-1552620046112 .contact_email').attr("placeholder","Get 15% off your first order."); $('.footer-menu-wrap h6').attr('class', 'active'); mobileLandscape = false; if( $(window).width() <1050 ){ mobileLandscape = true; } //if( ( $(window).width()/$(window).height() <1.65 ) || ( $(window).width()/$(window).height() > 2.1 ) ){ // $('#header').css('display','initial'); //}else{ // $('#header').css('display','none'); //} if($('#header.mobile_nav-fixed--true').is(':visible') ){ currentLayout = "Mobile"; //global $(".FORM-KLAVIYO-SUBWRAPPER form div:first-child").css('display','').css('flex-direction','').css('justify-content','').css('align-items',''); $(".FORM-KLAVIYO-SUBWRAPPER form input:first-child").css('min-width','').css('max-width','').css('width','600px'); $('html').css("padding-left","0"); $('html').css("padding-right","0"); $("#FOOTER-QUOTE").css('height','250px'); $(".FOOTER-SPAN-NAME").css('font-size','22px'); $(".FOOTER-DIV-CONTENT").css('font-size','17px'); $(".FOOTER-DIV-CONTENT").css('width','90%'); $(".FOOTER-DIV-CONTENT").css('left','5%'); $('.TYPER-INSTANCE-SUBWRAP').css('width','100%'); $('.TYPER-INSTANCE-SUBWRAP').css('left','0'); $('.TYPER-INSTANCE-SUBWRAP').css('justify-content','center'); $('.TYPER-INSTANCE-SUBWRAP').css('text-align','center'); $('.TYPER-INSTANCE-SUBWRAP').css('letter-spacing','1px'); $($('.TYPER-INSTANCE-SUBWRAP').children[0]).css('font-size','22px'); $('.TYPER-INSTANCE-WRAP').css('height', calculateHeight(1728,1920)); //$('#shopify-section-1552620046112 #contact_form').css('width','100%'); //$('#shopify-section-1552620046112 #contact_form').css('left',''); //$('#shopify-section-1552620046112 #contact_form').css('position',''); //$('#shopify-section-1552620046112 .section_form').css('flex-direction','column'); //$('#shopify-section-1552620046112 .section_form .title').css('width','100%'); //$('#shopify-section-1552620046112 .section_form .title').css('text-align','center'); //$('#shopify-section-1552620046112 .section_form .title').css('padding','0'); //$('#shopify-section-1552620046112 .section_form .title').css('margin','0'); //$('#shopify-section-1552620046112 .section_form .title').css('font-size','30px'); //$('#shopify-section-1552620046112 .newsletter_section .container').css('width',''); //$('#shopify-section-1552620046112 .action_button.sign_up').css('width','50%'); //$('#shopify-section-1552620046112 .action_button.sign_up').css('left','25%'); //$('#shopify-section-1552620046112 .action_button.sign_up').css('top','10px'); //$('#shopify-section-1552620046112 .action_button.sign_up').css('position','relative'); //if($(window).width()>$(window).height()){ // $('.footer .container.footer-menu-wrap').css('display','flex'); // $('.footer .container.footer-menu-wrap').css('width','100%'); // $($('.footer .container.footer-menu-wrap').children()[0]).css('width','25%'); // $($('.footer .container.footer-menu-wrap').children()[1]).css('width','50%'); // $($('.footer .container.footer-menu-wrap').children()[2]).css('width','15%'); // $($('.footer .container.footer-menu-wrap').children()[3]).css('width','50%'); // $('.footer_credits .credits').css('width','50%'); // $($('.footer .container.footer-menu-wrap').children()[5]).css('width','25%'); // $($('.footer .container.footer-menu-wrap').children()[4]).css('width',''); // $('#shopify-section-1552620046112 .contact_email').css('width','100%'); //}else{ $('.footer .container.footer-menu-wrap').css('display',''); $('.footer .container.footer-menu-wrap').css('width',''); $($('.footer .container.footer-menu-wrap').children()[0]).css('width',''); $($('.footer .container.footer-menu-wrap').children()[1]).css('width',''); $($('.footer .container.footer-menu-wrap').children()[2]).css('width','calc(50% - 20px)'); $($('.footer .container.footer-menu-wrap').children()[3]).css('width','calc(50% - 20px)'); $('.footer_credits .credits').css('width',''); $($('.footer .container.footer-menu-wrap').children()[5]).css('width',''); $($('.footer .container.footer-menu-wrap').children()[4]).css('width',''); //$('#shopify-section-1552620046112 .contact_email').css('width', '100%'); //$('#shopify-section-1552620046112 .contact_email').css('text-align', 'center'); //$('#shopify-section-1552620046112 .contact_email').css('margin', ''); //$('#shopify-section-1552620046112 .contact_email').css('padding', ''); //$('#shopify-section-1552620046112 .contact_email').css('position', ''); //$('#shopify-section-1552620046112 .contact_email').css('left', ''); //} $($('.footer .container.footer-menu-wrap').children()[3]).css('text-align',''); $($('.footer .container.footer-menu-wrap').children()[3]).css('position',''); $($('.footer .container.footer-menu-wrap').children()[3]).css('right',''); $($('.footer .container.footer-menu-wrap').children()[5]).css('position',''); $($('.footer .container.footer-menu-wrap').children()[5]).css('bottom',''); $($('.footer .container.footer-menu-wrap').children()[5]).css('right',''); $('.footer_credits .credits').css('padding-right',''); $('.footer-social-icons').css('position',''); $('.footer-social-icons').css('left',''); $($('#contact_form').children()[1]).css('display','flex'); $($('#contact_form').children()[1]).css('flex-direction','column'); $('.MOBILE-SLIDESHOW').show(); $('.MOBILE-SLIDESHOW').parent().find("img.transition--blur-up").hide(); if(page=="index"){ $('#INDEX-BANNER span').hide(); $('#INDEX-BANNER2 span').hide(); $('#shopify-section-header .top_bar').css('margin-left',''); $('#shopify-section-header .top_bar').css('margin-right',''); if(mobileVideoResize){ $('#ID-Video-Player').css('height', '90vh'); $('#ID-Video-Player_html5_api').css('height', '90vh'); $('.flickity-viewport').css('height', '90vh'); }else{ $('#ID-Video-Player').css('height', calculateHeight(1728,1920)); $('#ID-Video-Player_html5_api').css('height', calculateHeight(1728,1920)); $('.flickity-viewport').css('height', calculateHeight(1728,1920)); } $('.PRESS-TAG-BOX').css('flex-direction','column'); $('.PRESS-TAG-BOX').css('margin','2em'); $('.PRESS-TAG-BOX').children().css('margin','1em'); $('.PRESS-QUOTE').css('font-size','20px'); $('.PRESS-QUOTE-TITLE').css('font-size','25px'); $('.PRESS-QUOTE-TITLE').parent().css('height','calc(90vw - 4em)'); $('.PRESS-QUOTE-TITLE').parent().css('width','calc(90vw - 4em)'); $('.PRESS-QUOTE-TITLE').parent().css('max-height','300px'); $('.PRESS-QUOTE-TITLE').parent().css('max-width','300px'); $('.HOMEPAGE-COLLECTIONS-WRAP-TITLE').siblings().css('flex-direction','column'); $('.RIBBON-COLLECTIONS-SPORT').parent().find('img').css('left',''); $('.RIBBON-COLLECTIONS-CORPORATE').parent().find('img').css('right',''); $('.RIBBON-COLLECTIONS-CORPORATE').parent().css('margin-left',''); $('.RIBBON-COLLECTIONS-SPORT').parent().css('margin-right',''); $('.RIBBON-COLLECTIONS-CORPORATE').parent().find('img').css('margin-top','2em'); $('.RIBBON-COLLECTIONS-CORPORATE').css('width','60%'); $('.RIBBON-COLLECTIONS-CORPORATE').css('height','60px'); $('.RIBBON-COLLECTIONS-CORPORATE').css('top','75%'); $('.RIBBON-COLLECTIONS-SPORT').css('width','60%'); $('.RIBBON-COLLECTIONS-SPORT').css('height','60px'); $('.RIBBON-COLLECTIONS-SPORT').css('top','25%'); $('.RIBBON-COLLECTIONS-CORPORATE').find('a').css('font-size','20px'); $('.RIBBON-COLLECTIONS-SPORT').find('a').css('font-size','20px'); $('.MID-BANNER-WRAP').css("position","relative"); $('.MID-BANNER-WRAP').css("top","0"); $('.MID-BANNER-WRAP').css("padding-bottom","1em"); $('.MID-BANNER-IMG').css("padding-top","0"); $('.MID-BANNER-1').css("left","5%"); $('.MID-BANNER-1').css("width","90%"); $('.MID-BANNER-2').css("left","5%"); $('.MID-BANNER-2').css("width","90%"); $('.MID-BANNER-3').css("left","5%"); $('.MID-BANNER-3').css("width","90%"); $('.MID-BANNER-TITLE').css("font-size","30px"); $('.MID-BANNER-SUBTITLE').css("font-size","20px"); $('.MID-BANNER-SUBTITLE').css("line-height","1.5"); $('.MID-BANNER-CONTENT').css("font-size","18px"); $('.MID-BANNER-CONTENT').css("border-top", ""); $('.MID-BANNER-CONTENT').css("border-bottom", ""); $('.MID-BANNER-CONTENT').css("line-height", ""); $('.MID-BANNER-BUTTON').css("font-size","16px"); $('.HOMEPAGE_GREETING_QUOTE').css('font-size','18px'); $('.HOMEPAGE_GREETING_QUOTE').css('line-height',"1.5"); $('.HOMEPAGE-COLLECTIONS-WRAP').css('width','100%'); $('.HOMEPAGE-COLLECTIONS-WRAP').css('margin-left','0'); $('.HOMEPAGE-COLLECTIONS-WRAP-TITLE').css('font-size','30px'); $('.HOMEPAGE-PRESS-TITLE').css('font-size','30px'); }else if(page=="shop"){ /*$('.COLLECTIONS-ALL-A-ITEM').css('width','100%'); $('.COLLECTIONS-ALL-DIV-WRAP').css('flex-direction','column'); $('.COLLECTIONS-ALL-A-ITEM').css('margin-top', '1em'); $('.RIBBON-COLLECTIONS-SPORT.COMBINED').hide(); $('.RIBBON-COLLECTIONS-SPORT.ALT_').show(); $('.RIBBON-COLLECTIONS-CORPORATE').find('span').css('font-size','20px'); $('.RIBBON-COLLECTIONS-SPORT').find('span').css('font-size','20px'); $('.XTEE1').hide(); $('.XTEE2').show(); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('width','60%'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('width','60%'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('width','60%'); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('height','60px'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('height','60px'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('height','60px'); $('.RIBBON-COLLECTIONS-CORPORATE').css('height','60px'); $('.RIBBON-COLLECTIONS-SPORT').css('height','60px'); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('padding-right','1em'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('padding-right','1em'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('padding-right','1em'); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('justify-content','flex-end'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('justify-content','flex-end'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('justify-content','flex-end'); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('left','-6%'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('left','-6%'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('left','-6%');*/ $('.COLLECTIONS-ALL-A-ITEM').css('width','100%'); $('.COLLECTIONS-ALL-A-ITEM').css('max-width',''); $('.COLLECTIONS-ALL-A-ITEM.twopointo').css('margin',''); $('.COLLECTIONS-ALL-DIV-WRAP').css('flex-direction','column'); $('.COLLECTIONS-ALL-A-ITEM').css('margin-top', '1em'); $('.RIBBON-COLLECTIONS').find('span').css('font-size','20px'); $('.COLLECTIONS-ALL-SECTION').css('width','60%'); $('.COLLECTIONS-ALL-SECTION').css('height','60px'); $('.RIBBON-COLLECTIONS').css('height','60px'); $('.COLLECTIONS-ALL-SECTION').css('padding-right','1em'); $('.COLLECTIONS-ALL-SECTION').css('justify-content','flex-end'); $('.COLLECTIONS-ALL-SECTION').css('left','-6%'); $('.RIBBON-COLLECTIONS').css('left','0'); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('width','100%'); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('padding-left',''); $(".COLLECTIONS-CONTENT-WRAPPER").css('flex-direction','column'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('width','100%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('height','100%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-right','10%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-left','10%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-top','0px'); $(".COLLECTIONS-CONTENT-NAVIGATION") .css('overflow', '') .css('position', '') .css('top', '') .css('min-width','') .css('left', '') .css('z-index', '') .css('background-color', '') .css('border', '') .css('padding-bottom', '20px') .css('max-height', ''); $(".COLLECTIONS-CONTENT-NAVIGATION-TITLE").css('display','none'); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").css('border-right','0') .css('padding-right','0') .css('display', '') .css('justify-content', '') .css('align-items', ''); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").find('ul').css('width',''); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[0]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[1]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px') .css('padding-top','20px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[2]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px') .css('padding-top','20px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[3]).css('padding-top','20px') .css('border-bottom','') .css('padding-bottom',''); $(".COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xsuit,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xshirt,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xtee,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xband") .find("span") .css('font-size','20px') .css('line-height',''); $(".COLLECTIONS-CONTENT-NAVIGATION-ITEM").css('font-size','16px'); }else if(page=="products"){ $('.PRODUCT-PICTURE-IN-THE-BOX-MOBILE').show(); $('.PRODUCT-PICTURE-IN-THE-BOX').hide(); $('.nine.columns.medium-down--one-whole').css('position',''); $('.nine.columns.medium-down--one-whole').css('top',''); //$('.spr-reviews').css('transform','translateX(0px)'); $('.spr-review').css('width','calc(100vw - 48px)'); $('.spr-summary-actions-newreview').css('width','100%').css('margin-top', '20px'); $('.ICONS-PRODUCT-PAGE-WRAP-DESKTOP').hide(); $('.ICONS-PRODUCT-PAGE-WRAP-MOBILE').show(); reformBadgeCaption(); $('.spr-header-title').css('font-size','24px'); $('.ICONS-PRODUCT-PAGE').css('flex-direction', 'row').css('align-items','baseline'); $('.RELATED-PRODUCTS-FLEXWRAP').css('flex-direction', 'column'); $('.RELATED-PRODUCTS-FLEXWRAP').css('justify-content', ''); $('.RELATED-PRODUCTS-FLEXWRAP').find('img').css('width', '100%'); $('.RELATED-PRODUCTS-FLEXWRAP').find('img').css('max-height', '300px'); $('.RELATED-PRODUCTS-FLEXWRAP').find('a').css('width', ''); $('.PRODUCT-FIGURE').hide(); $('.PRODUCT-FIGURE-MOBILE').show(); function fv_() { if($('.flickity-viewport').length){ $('.flickity-viewport').css({ 'min-height':'400px', 'max-height':'400px' }); $('.gallery-cell img').each(function(){ if(!(this.className.includes("zoomImg"))){ this.style.height = '400px'; this.style.minHeight = ''; this.style.maxHeight = 'calc(100vh - 150px)'; this.style.paddingTop = ""; this.style.paddingBottom = ""; //this.style.objectFit = "contain"; } }); $('.gallery-wrap').css('width',''); }else{ setTimeout(function(){ fv_(); }, 100); } }; fv_(); //$('h1.product_name').css('font-size','30px'); function ft_() { if($('h1.product_name').fitText){ $('h1.product_name').fitText(1.8, { minFontSize: '18px', maxFontSize: '25px' }); $('.tabs-content').fitText(2, { minFontSize: '16px', maxFontSize: '25px' }); }else{ setTimeout(function(){ ft_(); }, 100); } }; ft_(); /* $('.PRODUCT-EXTRA-TABS-FEATURES-AND-DETAILS-CONTENT *, .PRODUCT-EXTRA-TABS-CARE-CONTENT *, .PRODUCT-EXTRA-TABS-SHIPPING-CONTENT *').css('font-size',$('.tabs-content').css('font-size')); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1, .PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3').css('flex-direction','column'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2').css('flex-direction','column'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 img, .PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 img').css('position','initial').css('left','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 img').css('position','initial').css('right','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('width','80%').css('margin-top','20px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','100%').css('margin-left','0').css('margin-right','0'); */ $('.PRODUCT-EXTRA-TABS-FEATURES-AND-DETAILS-CONTENT *, .PRODUCT-EXTRA-TABS-CARE-CONTENT *, .PRODUCT-EXTRA-TABS-SHIPPING-CONTENT *').css('font-size',$('.tabs-content').css('font-size')); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1').css('flex-direction','row'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3').css('flex-direction','row') .css('position', '') .css('top', '') .css('height', ''); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2').css('flex-direction','row-reverse'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 img').css('position','relative').css('left','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 img').css('position','relative').css('left','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 img').css('position','relative').css('right','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','100%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','100%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','100%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP span span') .css('font-size','22px') .css('line-height','30px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP span span') .css('font-size','22px') .css('line-height','30px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP span span') .css('font-size','22px') .css('line-height','30px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('left','0').css('width','80%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('left','0').css('width','80%') .css('margin-left', '10%') .css('margin-right', '10%') .css('top',''); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('left','0').css('width','80%') .css('margin-left', '10%') .css('margin-right', '10%') .css('top','') .css('display', ''); $('.PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('line-height','1.6em').css('margin-top','0').css('color','white').css('position','absolute'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('margin-left','0').css('margin-right','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1,.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2,.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3') .css('line-height','0') .css('margin-top','0') .css('margin-bottom','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION').css('padding-top','0').css('padding-bottom','0'); $('.PRODUCT-FIGURE').css('margin-top','0').css('margin-bottom','0'); $('.PRODUCT-FIGURE-MOBILE').css('margin-top','0').css('margin-bottom','0'); $('.IN-THE-BOX-WRAP').css('padding-top','20px'); $('span.TRIO-INNER-TEXT') .css('position','') .css('font-size', '15px') .css('font-weight', '400') .css('line-height', '1.2') .css('max-width', '250px'); //$('ul.tabs').css({ // 'display': '', // 'flex-direction': '', // 'flex-wrap': '', // 'justify-content': '' // }); //$('.PRODUCT-FIGURE-FEATURED-IMAGE').css('height','300px'); //$('.PRODUCT-FIGURE').find('h4').css('font-size','14px'); // $('.PRODUCT-FIGURE').find('h4').css('font-size','16px'); //$('.PRODUCT-FIGURE').find('p').css('font-size','14px'); // $('.PRODUCT-FIGURE').find('h4').css('font-size','18px'); //$('.PRODUCT-FIGURE').find('h4').css('min-width','35vw'); // $('.PRODUCT-FIGURE').find('h4').css('min-width','30vw'); //$('.PRODUCT-FIGURE').find('.right').css('min-width','45vw'); // $('.PRODUCT-FIGURE').find('.right').css('min-width','40vw'); //$('.PRODUCT-FIGURE').find('.left').css('min-width','45vw'); // $('.PRODUCT-FIGURE').find('.left').css('min-width','40vw'); //$('.PRODUCT-FIGURE').find('.right').css('max-width','45vw'); //$('.PRODUCT-FIGURE').find('.left').css('max-width','45vw'); }else if(page=="xpages"){ $(".product-list").css("display",""); $(".product-list").css("flex-direction",""); $(".product-list").css("justify-content",""); } if(page!='shop'){ $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('width','100%'); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('padding-left',''); $(".COLLECTIONS-CONTENT-WRAPPER").css('flex-direction','column'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('width','100%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('height','100%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-right','10%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-left','10%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-top','0px'); $(".COLLECTIONS-CONTENT-NAVIGATION") .css('overflow', '') .css('min-width','') .css('position', '') .css('top', '') .css('left', '') .css('z-index', '') .css('background-color', '') .css('border', '') .css('padding-bottom', '20px') .css('max-height', ''); $(".COLLECTIONS-CONTENT-NAVIGATION-TITLE").css('display','none'); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").css('border-right','0') .css('padding-right','0') .css('display', '') .css('justify-content', '') .css('align-items', ''); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").find('ul').css('width',''); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[0]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[1]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px') .css('padding-top','20px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[2]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px') .css('padding-top','20px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[3]).css('padding-top','20px') .css('border-bottom','') .css('padding-bottom',''); $(".COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xsuit,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xshirt,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xtee,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xband") .find("span") .css('font-size','20px') .css('line-height',''); $(".COLLECTIONS-CONTENT-NAVIGATION-ITEM").css('font-size','16px'); } }else{ if(page!='shop'){ if(mobileLandscape){ $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('width','100%'); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('padding-left',''); $(".COLLECTIONS-CONTENT-WRAPPER").css('flex-direction','column'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('width','100%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('height','100%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-right','10%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-left','10%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-top','0px'); $(".COLLECTIONS-CONTENT-NAVIGATION") .css('overflow', '') .css('min-width','') .css('position', '') .css('top', '') .css('left', '') .css('z-index', '') .css('background-color', '') .css('border', '') .css('padding-bottom', '20px') .css('max-height', ''); $(".COLLECTIONS-CONTENT-NAVIGATION-TITLE").css('display','none'); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").css('border-right','0') .css('padding-right','0') .css('display', '') .css('justify-content', '') .css('align-items', ''); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").find('ul').css('width',''); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[0]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[1]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px') .css('padding-top','20px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[2]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px') .css('padding-top','20px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[3]).css('padding-top','20px') .css('border-bottom','') .css('padding-bottom',''); $(".COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xsuit,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xshirt,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xtee,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xband") .find("span") .css('font-size','20px') .css('line-height',''); $(".COLLECTIONS-CONTENT-NAVIGATION-ITEM").css('font-size','16px'); }else{ var nav_width = '0px'; $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('width','calc(100% - '+nav_width+')'); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('padding-left',''); $(".COLLECTIONS-CONTENT-WRAPPER").css('flex-direction','column'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('width','auto'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('height','auto'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-right','0'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-left','20px'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-top','20px'); $(".COLLECTIONS-CONTENT-NAVIGATION") .css('overflow', 'auto') .css('min-width','12%') .css('position', 'static') .css('top', '80px') .css('left', '0px') .css('z-index', '1000000') .css('background-color', 'white') .css('border', '') .css('padding-bottom', 'calc(20px + 1vmax)') .css('max-height', 'calc(100% - 200px)'); $(".COLLECTIONS-CONTENT-NAVIGATION-TITLE").css('display','none'); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").css('border-right','0') .css('padding-right','20px') .css('display', 'flex') .css('justify-content', 'space-evenly') .css('align-items', 'baseline'); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").find('ul').css('width','20%'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[0]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') // .css('padding-bottom','20px'); //10px $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[1]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') //1px solid rgb(0, 114, 188, 0.5) .css('padding-bottom','20px') //10px .css('padding-top','0'); //20px $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[2]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') //1px solid rgb(0, 114, 188, 0.5) .css('padding-bottom','20px') //10px .css('padding-top','0'); //20px $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[3]).css('padding-top','0') //20px .css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','20px'); $(".COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xsuit,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xshirt,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xtee,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xband") .find("span") .css('font-size','1.5vmax') .css('line-height','1.5vmax'); $(".COLLECTIONS-CONTENT-NAVIGATION-TITLE").css('font-size','1.5vmax'); $(".COLLECTIONS-CONTENT-NAVIGATION-ITEM").css('font-size','0.87vmax'); } } //global if(mobileLandscape){ currentLayout = "Tablet"; $(".FORM-KLAVIYO-SUBWRAPPER form div:first-child").css('display','flex').css('flex-direction','column').css('justify-content','center').css('align-items','center'); $(".FORM-KLAVIYO-SUBWRAPPER form input:first-child").css('min-width','').css('max-width','100vw').css('width','600px'); if(!($('.mobileLandscapeToggleButton').length)){ $('.menu.left .main_nav').prepend(`
≡
`); $('.mobileLandscapeToggleButton').click(function(){ $('.vertical-menu').toggle(); }) } if(!(initPage_)){ $('.vertical-menu').hide(); initPage_=true; } $('.mobileLandscapeToggleButton').show(); $('html').css("padding-left","0px"); $('html').css("padding-right","0px"); $('.vertical-menu').css({ 'position': 'fixed', 'top': '60px', 'width': '100vw', 'justify-content': 'space-evenly', 'left':'0', 'border-bottom': '0.2vmin solid #c8c8c8', 'background-color': 'white'}); if(page!="index"){ $('#shopify-section-header .header').css({ 'position': 'fixed', 'top': '0', 'left': '0' }); $('#pagecontent').css({ 'display':'block', 'padding-bottom':'60px'}); //$('body').css('padding-top', '60px'); } }else{ currentLayout = "Desktop"; $(".FORM-KLAVIYO-SUBWRAPPER form div:first-child").css('display','flex').css('flex-direction','row').css('justify-content','space-between').css('align-items','center'); $(".FORM-KLAVIYO-SUBWRAPPER form input:first-child").css('min-width','55vw').css('max-width','').css('width','600px'); $('.mobileLandscapeToggleButton').hide(); $('.vertical-menu').show(); $('html').css("padding-left","5%"); $('html').css("padding-right","5%"); $('.vertical-menu').css({ 'position': '', 'top': '', 'width': '', 'justify-content': '', 'left':'', 'border-bottom': '', 'background-color': ''}); if(page!="index"){ $('#shopify-section-header .header').css({ 'position': '', 'top': '', 'left': '' }); $('#pagecontent').css({ 'display':'', 'padding-bottom':''}); //$('body').css('padding-top', ''); } } $('.TYPER-INSTANCE-SUBWRAP').css('width','100%'); $('.TYPER-INSTANCE-SUBWRAP').css('left','10%'); $('.TYPER-INSTANCE-SUBWRAP').css('justify-content','left'); $('.TYPER-INSTANCE-SUBWRAP').css('text-align','left'); $('.TYPER-INSTANCE-SUBWRAP').css('letter-spacing','3px'); $($('.TYPER-INSTANCE-SUBWRAP').children[0]).css('font-size','24px'); $('.TYPER-INSTANCE-WRAP').css('height',calculateHeight(1920,1280)); if(mobileLandscape){ $("#FOOTER-QUOTE").css('height','250px'); $(".FOOTER-SPAN-NAME").css('font-size','22px'); $(".FOOTER-DIV-CONTENT").css('font-size','17px'); $(".FOOTER-DIV-CONTENT").css('width','90%'); $(".FOOTER-DIV-CONTENT").css('left','5%'); }else{ $("#FOOTER-QUOTE").css('height','250px'); $(".FOOTER-DIV-CONTENT").css('font-size','2.1vmin'); $(".FOOTER-DIV-CONTENT").css('width','50%'); $(".FOOTER-DIV-CONTENT").css('left','25%'); $(".FOOTER-SPAN-NAME").css('font-size','2.5vmin'); } /*if(mobileLandscape){ $('#shopify-section-1552620046112 #contact_form').css('width','100%'); $('#shopify-section-1552620046112 #contact_form').css('left',''); $('#shopify-section-1552620046112 #contact_form').css('position',''); $('#shopify-section-1552620046112 .section_form').css('flex-direction','column'); $('#shopify-section-1552620046112 .section_form .title').css('width','100%'); $('#shopify-section-1552620046112 .section_form .title').css('text-align','center'); $('#shopify-section-1552620046112 .section_form .title').css('padding','0'); $('#shopify-section-1552620046112 .section_form .title').css('margin','0'); $('#shopify-section-1552620046112 .section_form .title').css('font-size','30px'); $('#shopify-section-1552620046112 .newsletter_section .container').css('width',''); $('#shopify-section-1552620046112 .action_button.sign_up').css('width','50%'); $('#shopify-section-1552620046112 .action_button.sign_up').css('left','25%'); $('#shopify-section-1552620046112 .action_button.sign_up').css('top','10px'); $('#shopify-section-1552620046112 .action_button.sign_up').css('position','relative'); $('#shopify-section-1552620046112 .contact_email').css('width','100%'); $($('#contact_form').children()[1]).css('display','flex'); $($('#contact_form').children()[1]).css('flex-direction','column'); $('#shopify-section-1552620046112 .contact_email').css('width', '50%'); $('#shopify-section-1552620046112 .contact_email').css('text-align', 'center'); $('#shopify-section-1552620046112 .contact_email').css('margin', '0'); $('#shopify-section-1552620046112 .contact_email').css('padding', '0'); $('#shopify-section-1552620046112 .contact_email').css('position', 'relative'); $('#shopify-section-1552620046112 .contact_email').css('left', '25%'); }else{ $('#shopify-section-1552620046112 #contact_form').css('width','575px'); $('#shopify-section-1552620046112 #contact_form').css('left','calc(100% - 575px)'); $('#shopify-section-1552620046112 #contact_form').css('position','relative'); $('#shopify-section-1552620046112 .section_form').css('flex-direction','row'); $('#shopify-section-1552620046112 .section_form .title').css('width','400px'); $('#shopify-section-1552620046112 .section_form .title').css('text-align','left'); $('#shopify-section-1552620046112 .section_form .title').css('padding',''); $('#shopify-section-1552620046112 .section_form .title').css('margin',''); $('#shopify-section-1552620046112 .section_form .title').css('font-size',''); $('#shopify-section-1552620046112 .newsletter_section .container').css('width','90%'); $('#shopify-section-1552620046112 .action_button.sign_up').css('width',''); $('#shopify-section-1552620046112 .action_button.sign_up').css('left',''); $('#shopify-section-1552620046112 .action_button.sign_up').css('top',''); $('#shopify-section-1552620046112 .action_button.sign_up').css('position',''); $($('#contact_form').children()[1]).css('display',''); $($('#contact_form').children()[1]).css('flex-direction',''); $('#shopify-section-1552620046112 .contact_email').css('width', '100%'); $('#shopify-section-1552620046112 .contact_email').css('text-align', ''); $('#shopify-section-1552620046112 .contact_email').css('margin', ''); $('#shopify-section-1552620046112 .contact_email').css('padding', ''); $('#shopify-section-1552620046112 .contact_email').css('position', ''); $('#shopify-section-1552620046112 .contact_email').css('left', ''); }*/ $('.footer .container.footer-menu-wrap').css('display','flex'); $('.footer .container.footer-menu-wrap').css('width',''); $($('.footer .container.footer-menu-wrap').children()[0]).css('width','auto'); $($('.footer .container.footer-menu-wrap').children()[1]).css('width','50%'); $($('.footer .container.footer-menu-wrap').children()[2]).css('width','30%'); $($('.footer .container.footer-menu-wrap').children()[3]).css('width','20%'); $($('.footer .container.footer-menu-wrap').children()[3]).css('text-align','right'); $($('.footer .container.footer-menu-wrap').children()[3]).css('position','relative'); $($('.footer .container.footer-menu-wrap').children()[3]).css('right','5%'); $($('.footer .container.footer-menu-wrap').children()[4]).css('width','100%'); $($('.footer .container.footer-menu-wrap').children()[5]).css('width','60%'); $($('.footer .container.footer-menu-wrap').children()[5]).css('position','absolute'); $($('.footer .container.footer-menu-wrap').children()[5]).css('bottom','-5%'); $($('.footer .container.footer-menu-wrap').children()[5]).css('right','0'); $('.footer_credits .credits').css('padding-right','8%'); $('.footer_credits .credits').css('width',''); $('.footer-social-icons').css('position','relative'); $('.footer-social-icons').css('left','5%'); $('.MOBILE-SLIDESHOW').hide(); $('.MOBILE-SLIDESHOW').parent().find("img.transition--blur-up").show(); if(page=="index"){ $('#INDEX-BANNER span').show(); $('#INDEX-BANNER2 span').show(); $('#shopify-section-header .top_bar').css('margin-left','5%'); $('#shopify-section-header .top_bar').css('margin-right','5%'); if(mobileLandscape){ $('#shopify-section-header .top_bar').css("margin-right","0px"); $('#shopify-section-header .top_bar').css("margin-left","0px"); }else{ $('#shopify-section-header .top_bar').css("margin-right","5%"); $('#shopify-section-header .top_bar').css("margin-left","5%"); } $('#ID-Video-Player').css('height',calculateHeight(1920,1280)); $('#ID-Video-Player_html5_api').css('height', calculateHeight(1920,1280)); $('.flickity-viewport').css('height', calculateHeight(1920,1280)); $('.PRESS-TAG-BOX').css('flex-direction','row'); $('.PRESS-TAG-BOX').css('margin','2em 0 2em 0'); $($('.PRESS-TAG-BOX').children()[0]).css('margin','0 1em 0 0'); $($('.PRESS-TAG-BOX').children()[1]).css('margin','0 0 0 1em'); if(mobileLandscape){ $('.PRESS-QUOTE').css('font-size','13px'); $('.PRESS-QUOTE').css('padding-bottom', '5px'); $('.PRESS-QUOTE').css('padding-top', '5px'); $('.PRESS-QUOTE-TITLE').css('font-size','16px'); $('.PRESS-TAG-BOX img').css('width','80px'); }else{ $('.PRESS-QUOTE').css('font-size','1.5vmax'); $('.PRESS-QUOTE').css('padding-bottom', ''); $('.PRESS-QUOTE').css('padding-top', ''); $('.PRESS-QUOTE-TITLE').css('font-size','1.8vmax'); $('.PRESS-TAG-BOX img').css('width','120px'); } $('.PRESS-TAG-BOX').children().css('height','20vmax'); //$('.PRESS-QUOTE-TITLE').parent().css('height',''); $('.PRESS-QUOTE-TITLE').parent().css('width','40vmax'); $('.PRESS-QUOTE-TITLE').parent().css('max-height',''); $('.PRESS-QUOTE-TITLE').parent().css('max-width',''); $('.HOMEPAGE-COLLECTIONS-WRAP-TITLE').siblings().css('flex-direction',''); $('.RIBBON-COLLECTIONS-SPORT').parent().find('img').css('left','10%'); $('.RIBBON-COLLECTIONS-CORPORATE').parent().find('img').css('right','10%'); $('.RIBBON-COLLECTIONS-CORPORATE').parent().css('margin-left','6.5%'); $('.RIBBON-COLLECTIONS-SPORT').parent().css('margin-right','6.5%'); $('.RIBBON-COLLECTIONS-CORPORATE').parent().find('img').css('margin-top',''); $('.RIBBON-COLLECTIONS-CORPORATE').css('width','40%'); $('.RIBBON-COLLECTIONS-CORPORATE').css('height','70px'); $('.RIBBON-COLLECTIONS-CORPORATE').css('top','50%'); $('.RIBBON-COLLECTIONS-SPORT').css('width','40%'); $('.RIBBON-COLLECTIONS-SPORT').css('height','70px'); $('.RIBBON-COLLECTIONS-SPORT').css('top','50%'); if(mobileLandscape){ $('.RIBBON-COLLECTIONS-CORPORATE').find('a').css('font-size','20px'); $('.RIBBON-COLLECTIONS-SPORT').find('a').css('font-size','20px'); }else{ $('.RIBBON-COLLECTIONS-CORPORATE').find('a').css('font-size','1.5vmax'); $('.RIBBON-COLLECTIONS-SPORT').find('a').css('font-size','1.5vmax'); } $('.MID-BANNER-WRAP').css("position","absolute"); $('.MID-BANNER-WRAP').css("top","10%"); $('.MID-BANNER-WRAP').css("padding-bottom","0"); $('.MID-BANNER-IMG').css("padding-top","1em"); $('.MID-BANNER-1').css("left","40%"); $('.MID-BANNER-1').css("width","47%"); $('.MID-BANNER-2').css("left","5%"); $('.MID-BANNER-2').css("width","46%"); $('.MID-BANNER-3').css("left","5%"); $('.MID-BANNER-3').css("top","19%"); $('.MID-BANNER-3').css("width","31%"); if(mobileLandscape){ $('.MID-BANNER-TITLE').css("font-size","20px"); $('.MID-BANNER-SUBTITLE').css("font-size","18px"); $('.MID-BANNER-CONTENT').css("font-size","15px"); $('.MID-BANNER-BUTTON').css("font-size","13px"); $('.MID-BANNER-SUBTITLE').css("line-height","1.5"); $('.MID-BANNER-CONTENT').css("background-color", "white"); //! $('.MID-BANNER-CONTENT').css("border-top", "5px solid white"); $('.MID-BANNER-CONTENT').css("border-bottom", "5px solid white"); $('.MID-BANNER-CONTENT').css("line-height", "25px"); }else{ $('.MID-BANNER-TITLE').css("font-size",""); $('.MID-BANNER-SUBTITLE').css("font-size",""); $('.MID-BANNER-CONTENT').css("font-size",""); $('.MID-BANNER-BUTTON').css("font-size","0.9vmax"); $('.MID-BANNER-SUBTITLE').css("line-height","1"); $('.MID-BANNER-CONTENT').css("background-color", ""); //! $('.MID-BANNER-CONTENT').css("border-top", ""); $('.MID-BANNER-CONTENT').css("border-bottom", ""); $('.MID-BANNER-CONTENT').css("line-height", ""); } $('.HOMEPAGE_GREETING_QUOTE').css('line-height',"1.5"); if(mobileLandscape){ $('.HOMEPAGE_GREETING_QUOTE').css('font-size',"18px"); }else{ $('.HOMEPAGE_GREETING_QUOTE').css('font-size',"calc(1vmax + 0.5vmin)"); } $('.HOMEPAGE-COLLECTIONS-WRAP').css('width','60%'); $('.HOMEPAGE-COLLECTIONS-WRAP').css('margin-left','20%'); if(mobileLandscape){ $('.HOMEPAGE-COLLECTIONS-WRAP-TITLE').css('font-size','20px'); $('.HOMEPAGE-PRESS-TITLE').css('font-size','20px'); }else{ $('.HOMEPAGE-COLLECTIONS-WRAP-TITLE').css('font-size','1.5vmax'); $('.HOMEPAGE-PRESS-TITLE').css('font-size','1.5vmax'); } }else if(page=="shop"){ /*$('.COLLECTIONS-ALL-A-ITEM').css('width','30%'); $('.COLLECTIONS-ALL-DIV-WRAP').css('flex-direction','row'); $('.COLLECTIONS-ALL-A-ITEM').css('margin-top', '0'); $('.RIBBON-COLLECTIONS-SPORT.COMBINED').hide(); $('.RIBBON-COLLECTIONS-SPORT.ALT_').show(); $('.RIBBON-COLLECTIONS-CORPORATE').find('span').css('font-size','1.5vmax'); $('.RIBBON-COLLECTIONS-SPORT').find('span').css('font-size','1.5vmax'); $('.XTEE1').hide(); $('.XTEE2').show(); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('width','40%'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('width','40%'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('width','40%'); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('height','70px'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('height','70px'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('height','70px'); $('.RIBBON-COLLECTIONS-CORPORATE').css('height','70px'); $('.RIBBON-COLLECTIONS-SPORT').css('height','70px'); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('padding-right','1em'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('padding-right','1em'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('padding-right','1em'); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('justify-content','flex-end'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('justify-content','flex-end'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('justify-content','flex-end'); $('.COLLECTIONS-ALL-SECTION-XCORPORATE').css('left','0%'); $('.COLLECTIONS-ALL-SECTION-XSPORT').css('left','0%'); $('.COLLECTIONS-ALL-SECTION-XTEE').css('left','0%'); */ $('.COLLECTIONS-ALL-A-ITEM').css('width','30%'); $('.COLLECTIONS-ALL-A-ITEM').css('max-width','600px'); $('.COLLECTIONS-ALL-A-ITEM.twopointo').css('margin','0 10%'); $('.COLLECTIONS-ALL-DIV-WRAP').css('flex-direction','row'); $('.COLLECTIONS-ALL-A-ITEM').css('margin-top', '0'); if(mobileLandscape){ $('.RIBBON-COLLECTIONS').find('span').css('font-size', '20px'); }else{ $('.RIBBON-COLLECTIONS').find('span').css('font-size','1.5vmax'); } $('.COLLECTIONS-ALL-SECTION').css('width','40%'); $('.COLLECTIONS-ALL-SECTION').css('height','70px'); $('.RIBBON-COLLECTIONS').css('height','70px'); $('.COLLECTIONS-ALL-SECTION').css('padding-right','1em'); $('.COLLECTIONS-ALL-SECTION').css('justify-content','flex-end'); $('.COLLECTIONS-ALL-SECTION').css('left','0%'); if(mobileLandscape){ $('.RIBBON-COLLECTIONS').css('left','0'); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('width','100%'); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('padding-left',''); $(".COLLECTIONS-CONTENT-WRAPPER").css('flex-direction','column'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('width','100%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('height','100%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-right','10%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-left','10%'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-top','0px'); $(".COLLECTIONS-CONTENT-NAVIGATION") .css('overflow', '') .css('min-width','') .css('position', '') .css('top', '') .css('left', '') .css('z-index', '') .css('background-color', '') .css('border', '') .css('padding-bottom', '20px') .css('max-height', ''); $(".COLLECTIONS-CONTENT-NAVIGATION-TITLE").css('display','none'); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").css('border-right','0') .css('padding-right','0') .css('display', '') .css('justify-content', '') .css('align-items', ''); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").find('ul').css('width',''); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[0]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[1]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px') .css('padding-top','20px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[2]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','10px') .css('padding-top','20px'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[3]).css('padding-top','20px') .css('border-bottom','') .css('padding-bottom',''); $(".COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xsuit,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xshirt,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xtee,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xband") .find("span") .css('font-size','20px') .css('line-height',''); $(".COLLECTIONS-CONTENT-NAVIGATION-ITEM").css('font-size','16px'); }else{ var nav_width = '0px'; $('.RIBBON-COLLECTIONS').css('left',nav_width); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('width','calc(100% - '+nav_width+')'); $('.COLLECTIONS-NAVIGATION-SECTION-WRAPPER').css('padding-left',''); $(".COLLECTIONS-CONTENT-WRAPPER").css('flex-direction','column'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('width','auto'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('height','auto'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-right','0'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-left','20px'); $(".COLLECTIONS-CONTENT-NAVIGATION").css('padding-top','20px'); $(".COLLECTIONS-CONTENT-NAVIGATION") .css('overflow', 'auto') .css('min-width','12%') .css('position', 'static') .css('top', '80px') .css('left', '0px') .css('z-index', '1000000') .css('background-color', 'white') .css('border', '') .css('padding-bottom', 'calc(20px + 1vmax)') .css('max-height', 'calc(100% - 200px)'); $(".COLLECTIONS-CONTENT-NAVIGATION-TITLE").css('display','none'); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").css('border-right','0') .css('padding-right','20px') .css('display', 'flex') .css('justify-content', 'space-evenly') .css('align-items', 'baseline'); $(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").find('ul').css('width','20%'); $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[0]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') // .css('padding-bottom','20px'); //10px $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[1]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') //1px solid rgb(0, 114, 188, 0.5) .css('padding-bottom','20px') //10px .css('padding-top','0'); //20px $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[2]).css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') //1px solid rgb(0, 114, 188, 0.5) .css('padding-bottom','20px') //10px .css('padding-top','0'); //20px $($(".COLLECTIONS-CONTENT-NAVIGATION-WRAPPER").children()[3]).css('padding-top','0') //20px .css('border-bottom','1px solid rgb(0, 114, 188, 0.5)') .css('padding-bottom','20px'); $(".COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xsuit,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xshirt,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xtee.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xtee,.COLLECTIONS-CONTENT-NAVIGATION-CONTROL-xband") .find("span") .css('font-size','1.5vmax') .css('line-height','1.5vmax'); $(".COLLECTIONS-CONTENT-NAVIGATION-TITLE").css('font-size','1.5vmax'); $(".COLLECTIONS-CONTENT-NAVIGATION-ITEM").css('font-size','0.87vmax'); } }else if(page=="products"){ $('.PRODUCT-PICTURE-IN-THE-BOX-MOBILE').hide(); $('.PRODUCT-PICTURE-IN-THE-BOX').show(); $('.nine.columns.medium-down--one-whole').css('position','relative'); /*try{ if(mobileLandscape){ if( (!(isPartiallyScrolledIntoView($('.PRODUCT-FIGURE-MOBILE')[0]))) && isPartiallyScrolledIntoView($('.seven.columns.medium-down--one-whole.omega')[0]) ){ $('.nine.columns.medium-down--one-whole').css('top',window.scrollY); } }else{ if( (!(isPartiallyScrolledIntoView($('.PRODUCT-FIGURE')[0]))) && isPartiallyScrolledIntoView($('.seven.columns.medium-down--one-whole.omega')[0]) ){ $('.nine.columns.medium-down--one-whole').css('top',window.scrollY); } } }catch(error){ if( (!(isPartiallyScrolledIntoView($('#shopify-product-reviews')[0]))) && isPartiallyScrolledIntoView($('.seven.columns.medium-down--one-whole.omega')[0]) ){ $('.nine.columns.medium-down--one-whole').css('top',window.scrollY); } }*/ //$('.spr-reviews').css('transform','translateX(-200px)'); $('.spr-review').css('width','300px'); $('.spr-summary-actions-newreview').css('width','').css('margin-top', ''); reformBadgeCaption(); $('.spr-header-title').css('font-size','30px'); $('.ICONS-PRODUCT-PAGE').css('flex-direction', 'row').css('align-items','baseline'); if(mobileLandscape){ $('.ICONS-PRODUCT-PAGE-WRAP-DESKTOP').show(); $('.ICONS-PRODUCT-PAGE-WRAP-MOBILE').hide(); //$('.RELATED-PRODUCTS-FLEXWRAP').css('flex-direction', 'column'); //$('.RELATED-PRODUCTS-FLEXWRAP').css('justify-content', ''); //$('.RELATED-PRODUCTS-FLEXWRAP').find('img').css('width', '100%'); //$('.RELATED-PRODUCTS-FLEXWRAP').find('img').css('max-height', '300px'); $('.RELATED-PRODUCTS-FLEXWRAP').css('flex-direction', 'row'); $('.RELATED-PRODUCTS-FLEXWRAP').css('justify-content', 'space-around'); $('.RELATED-PRODUCTS-FLEXWRAP').find('img').css('width', ''); $('.RELATED-PRODUCTS-FLEXWRAP').find('img').css('max-height', '300px'); $('.RELATED-PRODUCTS-FLEXWRAP').find('a').css('width', '50%'); $('.PRODUCT-FIGURE').hide(); $('.PRODUCT-FIGURE-MOBILE').show(); function fv_() { if($('.flickity-viewport').length){ $('.flickity-viewport').css({ 'min-height':'calc(100vh - 150px)', 'max-height':'calc(100vh - 150px)' }); var i = 0; $('.gallery-cell img').each(function(){ if(!(this.className.includes("zoomImg"))){ this.style.paddingTop = ""; this.style.paddingBottom = ""; var t1h = $($('.gallery-cell img')[0]).css('height'); var t2max = $($('.gallery-cell img')[0]).css('max-height'); var t3min = $($('.gallery-cell img')[0]).css('min-height'); $($('.gallery-cell img')[0]).css('height',''); $('.gallery-cell img')[0].style.minHeight = '0'; $('.gallery-cell img')[0].style.maxHeight = 'none'; var imgheight = $($('.gallery-cell img')[0]).height(); $('.gallery-cell img')[0].style.height=t1h; $('.gallery-cell img')[0].style.minHeight = t3min; $('.gallery-cell img')[0].style.maxHeight = t2max; this.style.minHeight = 'calc(100vh - 150px)'; this.style.maxHeight = 'calc(100vh - 150px)'; this.style.height='100%'; var fullheight = $(this).height(); $(this).css('height',''); this.style.paddingTop = ((fullheight-imgheight)/2)+'px'; this.style.paddingBottom = ((fullheight-imgheight)/2)+'px'; //this.style.objectFit = "contain"; i+=1; } }); $('.gallery-wrap').css('width',''); }else{ setTimeout(function(){ fv_(); }, 100); } }; fv_(); function ft_() { if($('h1.product_name').fitText){ $('h1.product_name').fitText(1.8, { minFontSize: '18px', maxFontSize: '25px' }); $('.tabs-content').fitText(2, { minFontSize: '14px', maxFontSize: '16px' }); }else{ setTimeout(function(){ ft_(); }, 100); } }; ft_(); /* $('.PRODUCT-EXTRA-TABS-FEATURES-AND-DETAILS-CONTENT *, .PRODUCT-EXTRA-TABS-CARE-CONTENT *, .PRODUCT-EXTRA-TABS-SHIPPING-CONTENT *').css('font-size',$('.tabs-content').css('font-size')); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1, .PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3').css('flex-direction','column'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2').css('flex-direction','column'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 img, .PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 img').css('position','initial').css('left','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 img').css('position','initial').css('right','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('width','80%').css('margin-top','20px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','100%').css('margin-left','0').css('margin-right','0'); */ $('.PRODUCT-EXTRA-TABS-FEATURES-AND-DETAILS-CONTENT *, .PRODUCT-EXTRA-TABS-CARE-CONTENT *, .PRODUCT-EXTRA-TABS-SHIPPING-CONTENT *').css('font-size',$('.tabs-content').css('font-size')); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1').css('flex-direction','row'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3').css('flex-direction','row') .css('position', 'relative') .css('top', ($('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2').height()/-2)+'px') .css('height', '0px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2').css('flex-direction','row-reverse'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 img').css('position','relative').css('left','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 img').css('position','relative').css('left','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 img').css('position','relative').css('right','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','100%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','50%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','50%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP span span') .css('font-size','30px') .css('line-height','40px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP span span') .css('font-size','22px') .css('line-height','28px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('left','0').css('width','80%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('left','0').css('width','30%') .css('margin-left', '35%') .css('margin-right', '35%') .css('top','-75px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('right','0').css('width','30%').css('display','none'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('line-height','1.6em').css('margin-top','0').css('color','white').css('position','absolute'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('margin-left','0').css('margin-right','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1,.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2,.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3') .css('line-height','0') .css('margin-top','0') .css('margin-bottom','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION').css('padding-top','0').css('padding-bottom','0'); $('.PRODUCT-FIGURE').css('margin-top','0').css('margin-bottom','0'); $('.PRODUCT-FIGURE-MOBILE').css('margin-top','0').css('margin-bottom','0'); $('.IN-THE-BOX-WRAP').css('padding-top','20px'); $('span.TRIO-INNER-TEXT') .css('position','absolute') .css('font-size', '15px') .css('font-weight', '400') .css('line-height', '1.2') .css('max-width', '250px'); //$('ul.tabs').css({ // 'display': 'flex', // 'flex-direction': 'row', // 'flex-wrap': 'wrap', // 'justify-content': '' //}); }else{ $('.ICONS-PRODUCT-PAGE-WRAP-DESKTOP').show(); $('.ICONS-PRODUCT-PAGE-WRAP-MOBILE').hide(); $('.RELATED-PRODUCTS-FLEXWRAP').css('flex-direction', 'row'); $('.RELATED-PRODUCTS-FLEXWRAP').css('justify-content', 'space-around'); $('.RELATED-PRODUCTS-FLEXWRAP').find('img').css('width', ''); $('.RELATED-PRODUCTS-FLEXWRAP').find('img').css('max-height', '500px'); $('.RELATED-PRODUCTS-FLEXWRAP').find('a').css('width', ''); $('.PRODUCT-FIGURE').show(); $('.PRODUCT-FIGURE-MOBILE').hide(); function fv_() { if($('.flickity-viewport').length){ $('.flickity-viewport').css({ 'min-height':'calc(100vh - 150px)', 'max-height':'calc(100vh - 150px)' }); var i = 0; $('.gallery-cell img').each(function(){ if(!(this.className.includes("zoomImg"))){ this.style.paddingTop = ""; this.style.paddingBottom = ""; var t1h = $($('.gallery-cell img')[0]).css('height'); var t2max = $($('.gallery-cell img')[0]).css('max-height'); var t3min = $($('.gallery-cell img')[0]).css('min-height'); $($('.gallery-cell img')[0]).css('height',''); $('.gallery-cell img')[0].style.minHeight = '0'; $('.gallery-cell img')[0].style.maxHeight = 'none'; var imgheight = $($('.gallery-cell img')[0]).height(); $('.gallery-cell img')[0].style.height=t1h; $('.gallery-cell img')[0].style.minHeight = t3min; $('.gallery-cell img')[0].style.maxHeight = t2max; this.style.minHeight = 'calc(100vh - 150px)'; this.style.maxHeight = 'calc(100vh - 150px)'; $(this).css('height',''); var fullheight = $(this).height(); this.style.height=''; this.style.paddingTop = ((fullheight-imgheight)/2)+'px'; this.style.paddingBottom = ((fullheight-imgheight)/2)+'px'; i+=1; } }); $('.gallery-wrap').css('width',''); }else{ setTimeout(function(){ fv_(); }, 100); } }; fv_(); $('h1.product_name').css('font-size','30px'); $('.tabs-content').css('font-size','16px'); $('.PRODUCT-EXTRA-TABS-FEATURES-AND-DETAILS-CONTENT *, .PRODUCT-EXTRA-TABS-CARE-CONTENT *, .PRODUCT-EXTRA-TABS-SHIPPING-CONTENT *').css('font-size',$('.tabs-content').css('font-size')); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1').css('flex-direction','row'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3').css('flex-direction','row') .css('position', 'relative') .css('top', ($('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2').height()/-2)+'px') .css('height', '0px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2').css('flex-direction','row-reverse'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 img').css('position','relative').css('left','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 img').css('position','relative').css('left','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 img').css('position','relative').css('right','0').css('filter','brightness(0.75)'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','100%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','50%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 .PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('width','50%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP span span') .css('font-size','40px') .css('line-height','50px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP span span') .css('font-size','26px') .css('line-height','33px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('left','0').css('width','80%'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('left','0').css('width','30%') .css('margin-left', '35%') .css('margin-right', '35%') .css('top','-75px'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2 .PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('right','0').css('width','30%').css('display','none'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-TEXT-WRAP').css('line-height','1.6em').css('margin-top','0').css('color','white').css('position','absolute'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-IMG-WRAP').css('margin-left','0').css('margin-right','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-1,.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-2,.PRODUCT-EXPANDED-VISUAL-SECTION-SUBWRAP-3') .css('line-height','0') .css('margin-top','0') .css('margin-bottom','0'); $('.PRODUCT-EXPANDED-VISUAL-SECTION').css('padding-top','0').css('padding-bottom','0'); $('.PRODUCT-FIGURE').css('margin-top','0').css('margin-bottom','0'); $('.PRODUCT-FIGURE-MOBILE').css('margin-top','0').css('margin-bottom','0'); $('.IN-THE-BOX-WRAP').css('padding-top','20px'); $('span.TRIO-INNER-TEXT') .css('position','absolute') .css('font-size', '18px') .css('font-weight', '400') .css('line-height', '1.2') .css('max-width', '300px'); /* padding-bottom: 40px; */ //function ft_() { // if($('h1.product_name').fitText){ // $('h1.product_name').fitText(1.4); // $('.tabs-content').fitText(2); // }else{ // setTimeout(function(){ // ft_(); // }, 100); // } //}; //ft_(); //$('ul.tabs').css({ // 'display': '', // 'flex-direction': '', // 'justify-content': '' //}); } //$('.PRODUCT-FIGURE-FEATURED-IMAGE').css('height','600px'); //$('.PRODUCT-FIGURE').find('h4').css('font-size','20px'); //$('.PRODUCT-FIGURE').find('p').css('font-size','20px'); //$('.PRODUCT-FIGURE').find('h4').css('min-width','30vw'); //$('.PRODUCT-FIGURE').find('.right').css('min-width','40vw'); //$('.PRODUCT-FIGURE').find('.left').css('min-width','40vw'); //$('.PRODUCT-FIGURE').find('.right').css('max-width','40vw'); //$('.PRODUCT-FIGURE').find('.left').css('max-width','40vw'); }else if(page=="xpages"){ $(".product-list").css("display","flex"); $(".product-list").css("flex-direction","row"); $(".product-list").css("justify-content","center"); } if(page!="index"){ $('.TYPER-INSTANCE-WRAP').css('height',$('.image-element__wrap').height()+'px'); }else{ $('.TYPER-INSTANCE-WRAP').css('height',$('#shopify-section-1565653413993').height()+'px'); } } } document.addEventListener("DOMContentLoaded", function(event) { var lazy_loaded = false; $(".lazy").Lazy({ beforeLoad: function(element) { // called before an elements gets handled // console.log(element); }, afterLoad: function(element) { // called after an element was successfully handled // console.log(element); }, onError: function(element) { // called whenever an element could not be handled // console.log(element); }, onFinishedAll: function() { // called once all elements was handled lazy_loaded = true; } }); var stringArray=["/","/pages/story","/collections/all","/pages/press","/pages/support"]; if(!(stringArray.includes(window.location.pathname)) && window.location.pathname.split('/').filter(Boolean)[0]!='products'){ w1 = 0; h1 = 0; setInterval(function(){ //if(w1!=$(window).width() && h1!=$(window).height()){ w1 = $(window).width(); h1 = $(window).height(); resizeHeader(""); //} },100); //resizeHeader(""); //$(window).resize(function(){ // resizeHeader(""); //}); } Beacon('config',{'color':'#0072bc'}); $('body').css('overscroll-behavior-y', 'auto'); if(window.location.pathname.includes("products/")){ $('body').css('overflow-x','hidden'); $('.action_button.add_to_cart.action_button--secondary').hover(function(){ this.style.color = "white"; this.style.backgroundColor = "#0072bc"; },function(){ this.style.color = "#0072bc"; this.style.backgroundColor = "white"; }); /*var s = document.createElement("script"); s.type = "text/javascript"; s.src = "//cdn.shopify.com/s/files/1/2377/9671/t/28/assets/be_sizing.js?16215"; $("head").append(s); s.src = "//cdn.shopify.com/s/files/1/2377/9671/t/28/assets/be_sizing-vendors.js?16215"; $("head").append(s);*/ } });
category
xTee