code added
This commit is contained in:
Vendored
+6
-3
@@ -11,7 +11,7 @@
|
||||
|
||||
}
|
||||
function naChanges(){
|
||||
$("body.product_pg").find(".header-large-device").find(".header-action-wrap").find(".same-style").find("svg").find("path").attr("fill","#fff");
|
||||
$("body.product_pg").find(".header-large-device").find(".header-action-wrap").find(".same-style").find("svg").find("path").attr("fill","#000");
|
||||
}
|
||||
setTimeout(naChanges, 1000);
|
||||
win.on('scroll', function() {
|
||||
@@ -22,15 +22,18 @@
|
||||
let img_src = `./dist/assets/imgs/anwi-logo-2.png`;
|
||||
$(".logo-menu-wrap").find("a img").attr("src",img_src);
|
||||
$(".main-menu").find("nav ul li a").addClass("text-white");
|
||||
debugger;
|
||||
$("body.product_pg").find(".header-large-device").find(".header-action-wrap").find(".same-style").find("svg").find("path").attr("fill","#fff");
|
||||
$('.header-bottom-flex').find('svg path').attr('fill','#fff')
|
||||
} else {
|
||||
header.addClass('stick');
|
||||
|
||||
debugger;
|
||||
$(".header-bottom").addClass("sticky-bar stick");
|
||||
let src = `./dist/assets/imgs/anwi-logo-1.png`;
|
||||
$(".logo-menu-wrap").find("a img").attr("src",src);
|
||||
$(".main-menu").find("nav ul li a").removeClass("text-white");
|
||||
$("body.product_pg").find(".header-large-device").find(".header-action-wrap").find(".same-style").find("svg").find("path").attr("fill","currentcolor");
|
||||
$("body.product_pg").find(".header-large-device").find(".header-action-wrap").find(".same-style").find("svg").find("path").attr("fill","#000");
|
||||
$('.header-bottom-flex').find('svg path').attr('fill','#000')
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Vendored
+41
-2
@@ -74,10 +74,49 @@ function navINIT() {
|
||||
</div>
|
||||
<div class="header-action-wrap header-action-flex header-action-width header-action-mrg-1">
|
||||
<div class="same-style">
|
||||
<a href="./myaccount.html" class="my_avatar"><i class="fa-solid fa-user"></i></a>
|
||||
<a href="./myaccount.html" class="my_avatar">
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;width: 20px;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
|
||||
</style>
|
||||
<path fill="#fff" class="st0" d="M11.1,12c-3-0.5-5-3.2-4.8-6C6.6,2.9,9,0.7,12,0.7c3,0,5.4,2.2,5.6,5.2c0.2,2.9-1.7,5.5-4.8,6
|
||||
c1.4,0,2.8,0.2,4.1,0.8c3.4,1.5,5.4,4.1,6.1,7.6c0.1,0.5,0.1,1,0.2,1.6c0,0.8-0.4,1.3-1.2,1.3c-4.4,0-8.9,0-13.3,0
|
||||
c-2.3,0-4.5,0-6.8,0c-0.9,0-1.3-0.5-1.3-1.3c0.1-4.4,3-8.1,7-9.5C8.9,12.1,10,11.9,11.1,12L11.1,12z M12,22.1c0.5,0,1.1,0,1.6,0
|
||||
c2.7,0,5.5,0,8.2,0c0.2,0,0.3,0,0.3-0.3c0-0.6-0.1-1.2-0.2-1.7c-0.9-3.6-3.8-6.3-7.4-6.8c-0.9-0.1-1.9-0.1-2.9-0.1
|
||||
c-0.7,0-1.4,0-2,0.1c-4.2,0.6-7.5,4.2-7.6,8.5c0,0.3,0,0.3,0.3,0.3C5.5,22.1,8.8,22.1,12,22.1L12,22.1z M12,10.8
|
||||
c2.5,0,4.5-2,4.5-4.4c0-2.2-1.7-4.5-4.4-4.5c-2.7,0-4.5,2.1-4.5,4.4C7.5,8.9,9.5,10.8,12,10.8z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div class="same-style header-cart">
|
||||
<a class="cart-active1 position-relative" href="./shopping-cart.html"><i class="fa-solid fa-cart-shopping"></i>
|
||||
<a class="cart-active1 position-relative" href="./shopping-cart.html">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;width: 20px;" xml:space="preserve">
|
||||
|
||||
<path fill="#fff" class="st0" d="M0.5,1.1c0.1-0.2,0.4-0.4,0.6-0.4c0.6,0,1.2,0,1.8,0C4,0.9,4.8,1.5,5.1,2.5c0.2,0.4,0.3,0.8,0.4,1.2
|
||||
c0.1,0.2,0.1,0.2,0.3,0.2c1.2,0,2.3,0,3.4,0c1.5,0,3,0,4.4,0.1c0.9,0,1.8,0,2.6,0c1.3,0,2.6,0,3.8,0.1c0.8,0,1.7,0,2.5,0
|
||||
c0.1,0,0.2,0,0.3,0c0.4,0.1,0.5,0.3,0.5,0.8c-0.3,1.2-0.6,2.3-0.8,3.5c-0.1,0.6-0.3,1.3-0.5,1.9c-0.4,1.2-1.2,1.9-2.5,2.1
|
||||
c-1.3,0.2-2.6,0.3-3.9,0.4c-1.4,0.1-2.7,0.3-4.1,0.4c-1,0.1-2,0.2-3.1,0.3c-0.1,0-0.2,0.1-0.3,0.2c-0.4,0.7-0.2,1.3,0.2,1.8
|
||||
C8.8,15.9,9.2,16,9.6,16c3.3,0,6.6,0,10,0c0.1,0,0.3,0,0.4,0c0.2,0.1,0.4,0.3,0.4,0.5c0,0.3-0.2,0.5-0.4,0.5c-0.1,0-0.3,0-0.4,0
|
||||
c-3.3,0-6.5,0-9.8,0c-1.2,0-2.1-0.6-2.5-1.6c-0.3-0.7-0.2-1.4,0.1-2c0.2-0.3,0.1-0.6,0-0.9C6.3,9.4,5.2,6.2,4.1,3
|
||||
C3.9,2.2,3.5,1.9,2.7,1.9c-0.5,0-1,0-1.4,0c-0.3,0-0.6-0.1-0.7-0.4C0.5,1.6,0.5,1.2,0.5,1.1z M7.3,5.1c-0.2,0-0.6,0-1.1,0
|
||||
C6,5.1,6,5.1,6.1,5.3c0.3,1,0.6,2,1,2.9c0.4,1.4,0.9,2.7,1.3,4.1c0,0.1,0.1,0.2,0.2,0.2c0.8-0.1,1.5-0.2,2.3-0.2
|
||||
c0.9-0.1,1.9-0.2,2.8-0.3c0.9-0.1,1.9-0.2,2.8-0.3c1-0.1,1.9-0.2,2.9-0.3c0.9-0.1,1.5-0.5,1.7-1.4c0.4-1.5,0.7-3,1.1-4.5
|
||||
c0-0.1,0-0.2-0.1-0.2c-0.4,0-0.8,0-1.1,0c-2,0-4.1,0-6.1-0.1c-1,0-2,0-3,0C10.4,5.1,9,5.1,7.3,5.1L7.3,5.1z"/>
|
||||
<path fill="#fff" class="st0" d="M18.1,23.2c-1.3,0.1-2.4-0.9-2.5-2.3c-0.1-1.3,0.9-2.4,2.2-2.6c1.4-0.1,2.5,0.9,2.6,2.3
|
||||
C20.5,22.1,19.3,23.2,18.1,23.2L18.1,23.2z M19.2,20.8c0-0.7-0.6-1.3-1.3-1.3c-0.7,0-1.3,0.6-1.3,1.3c0,0.7,0.6,1.3,1.3,1.3
|
||||
C18.7,22.1,19.2,21.5,19.2,20.8L19.2,20.8z"/>
|
||||
<path fill="#fff" class="st0" d="M7.8,23.2c-1.3,0-2.4-1.1-2.4-2.4c0-1.4,1.1-2.4,2.4-2.4c1.3,0,2.4,1.1,2.4,2.5C10.3,22.1,9.2,23.2,7.8,23.2
|
||||
L7.8,23.2z M7.8,22.1c0.7,0,1.3-0.6,1.3-1.3c0-0.7-0.6-1.3-1.3-1.3s-1.3,0.6-1.3,1.3C6.5,21.5,7.1,22.1,7.8,22.1z"/>
|
||||
</svg>
|
||||
|
||||
<span class="position-absolute cartnumcount d-none" >0</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user