Re: How to change header icons in dawn theme

Solved

How to change header icons in dawn theme

Ecomsmartify
Shopify Partner
73 1 14

can anyone help me how to change any header icons like this reffrence website I want these website icons in my theme. Thanks

Screenshot (200).png

Accepted Solutions (6)
BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
a#cart-icon-bubble {
    position: relative;
}

svg.icon.icon-cart-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%);
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1721302950974.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you  😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify, Please add this code to the style tag above: 

.header__icon:hover .icon {
    transform: translate(-33%, -33%) !important;
}

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
svg.icon.icon-cart {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%) !important;
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1721363685998.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify, Yes, It is necessary. Let's add it inside that style tag

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Ecomsmartify
Shopify Partner
73 1 14

This is an accepted solution.

so sorry to keep messaging you again and again I'm not soo good at code should I add code like this 👇in this way I use code it's fixed the displacing issue only for cart icon. my other icons like login account, search is behaaving when I hover on that icons the gose up as like the before cart icon. Please can you help me to fix this as well. Please. Thanks I really appriceiate 

<style>
    svg.icon.icon-cart {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%) !important;
}
    .header__icon:hover .icon {
    transform: translate(-33%, -33%) !important;
}
a#cart-icon-bubble {
    position: relative;
}

svg.icon.icon-cart-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%);
}
</style>

 

View solution in original post

BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify, Pls add this code inside that style tag: 

 

.header__icon.header__icon--account:hover .icon,
.header__icon.header__icon--search:hover .icon
{
  transform: scale(1.07) !important;
}

 

It will fix this error. 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 16 (16)

BSSCommerce-HDL
Shopify Partner
2048 723 896

Hi @Ecomsmartify, You can try change this: 
Go to Shopify Admin -> Online Store ->Theme -> Edit code. And find these 2 files then change them

BSSCommerceHDL_0-1721294994293.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Ecomsmartify
Shopify Partner
73 1 14

hi @BSSCommerce-HDL thanks for replying I have tried to add the cart icon in my theme and I got something like this icon upside and not equal space or height. Please help me how I can fix this. As you can see in the below picture the logo that I add is bit up as compare to other icons. I copied this from this website: https://krosskulture.com/

Screenshot (202).png

BSSCommerce-HDL
Shopify Partner
2048 723 896

Hi @Ecomsmartify
Can you kindly share your store link (with the password protected, if any) with us? We will check it and suggest you a solution if possible.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Ecomsmartify
Shopify Partner
73 1 14

Hey @BSSCommerce-HDL here is the my store URL https://tesdmo.myshopify.com/

And password is 4.

 

Thanks 

BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
a#cart-icon-bubble {
    position: relative;
}

svg.icon.icon-cart-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%);
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1721302950974.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you  😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Ecomsmartify
Shopify Partner
73 1 14

hey @BSSCommerce-HDL 

Thankyou soo much giving your time at this matter thanks. now it's fixed the position issue. But now when I hover on the icon it's gose down and when I add-to-cart something than it's gose up. please check thanks again 😍

Screenshot (204).png



BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify, Please add this code to the style tag above: 

.header__icon:hover .icon {
    transform: translate(-33%, -33%) !important;
}

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Ecomsmartify
Shopify Partner
73 1 14

Hey @BSSCommerce-HDL 
Sorry to disturb you again actually now it's my fixed displace icon position only for empty cart icon. Now that icons displace position happening/refelecting to others icons like account & search... When I add to cart than cart icon gose again or displace from the position. Please can you help me to fix this. Thanks 😍😍😍😍
Refrence website : https://krosskulture.com/
My website: https://tesdmo.myshopify.com/

Screenshot (206).png

BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
svg.icon.icon-cart {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%) !important;
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1721363685998.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Ecomsmartify
Shopify Partner
73 1 14

should I remove this code and add that code you provide?

<style>
    .header__icon:hover .icon {
    transform: translate(-33%, -33%) !important;
}
a#cart-icon-bubble {
    position: relative;
}

svg.icon.icon-cart-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%);
}
</style>
Ecomsmartify
Shopify Partner
73 1 14

Please can you tell me should I add in this code or ?

<style>
    .header__icon:hover .icon {
    transform: translate(-33%, -33%) !important;
}
a#cart-icon-bubble {
    position: relative;
}

svg.icon.icon-cart-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%);
}
</style>
BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify, Yes, It is necessary. Let's add it inside that style tag

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Ecomsmartify
Shopify Partner
73 1 14

This is an accepted solution.

so sorry to keep messaging you again and again I'm not soo good at code should I add code like this 👇in this way I use code it's fixed the displacing issue only for cart icon. my other icons like login account, search is behaaving when I hover on that icons the gose up as like the before cart icon. Please can you help me to fix this as well. Please. Thanks I really appriceiate 

<style>
    svg.icon.icon-cart {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%) !important;
}
    .header__icon:hover .icon {
    transform: translate(-33%, -33%) !important;
}
a#cart-icon-bubble {
    position: relative;
}

svg.icon.icon-cart-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-33%, -33%);
}
</style>

 

BSSCommerce-HDL
Shopify Partner
2048 723 896

This is an accepted solution.

Hi @Ecomsmartify, Pls add this code inside that style tag: 

 

.header__icon.header__icon--account:hover .icon,
.header__icon.header__icon--search:hover .icon
{
  transform: scale(1.07) !important;
}

 

It will fix this error. 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Ecomsmartify
Shopify Partner
73 1 14

yep now it's fixed Thanks alot again you are amazing if in future I need any help can I message you ? 
Thaaaaannnnnkkkksssss 😍😍😍😍

BSSCommerce-HDL
Shopify Partner
2048 723 896

@Ecomsmartify Yes, I'm glad I could help you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now