Re: Dawn - Announcement Bar Arrows Spacing

Solved

How can I adjust the spacing of announcement bar arrows in Dawn?

Dabou
Pathfinder
118 2 16

Dabou_0-1707757776074.png

Sometime ago i added some code to change the spacing between the announcement bar arrows, but now i would like to add more spacing and cant find where the code is, i've tried inspecting the element, but it shows the place as dazzilia.com which i don't know what file it is.

Website is in my Signature

Website: Dazzilia.com

Rate my website
https://community.shopify.com/c/shopify-design/rate-my-website/td-p/2439579
Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
7781 1881 2306

This is an accepted solution.

Welcome, I cant tell which specific file in it but im sure its on the liquid file. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 8 (8)

Made4uo-Ribe
Shopify Partner
7781 1881 2306

Hi @Dabou 

Check this one. You can find the code in the component-slider.css. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "component-slider.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.slider-buttons {
    justify-content: space-between;
}

 

And Save. 

Result:

Made4uoRibe_0-1707759038158.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
Dabou
Pathfinder
118 2 16

@Made4uo-Ribe I wanted to remove the spacing between the arrows so the text would use 1 line only.

 

that why i was looking for the code i added in the past

Website: Dazzilia.com

Rate my website
https://community.shopify.com/c/shopify-design/rate-my-website/td-p/2439579
Made4uo-Ribe
Shopify Partner
7781 1881 2306

Sorry your confusing, you want to add space between the arrows and the text so the text will used one line only? To adjust the line of the text is the wrapper width. It seems like your looking on this code? 

 

Made4uoRibe_1-1707759726806.png

When you adjust the width. the result is, 

Made4uoRibe_2-1707759846168.png

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
Dabou
Pathfinder
118 2 16

@Made4uo-Ribe Yes, thats the code im looking for, i cant find where its placed in my store.

Website: Dazzilia.com

Rate my website
https://community.shopify.com/c/shopify-design/rate-my-website/td-p/2439579
Natasha-Saed
Shopify Partner
421 46 77

Hi,

 

You can directly overide this code by adding a custom css onto this section.

 

.announcement-bar-slider .slider {width: 100% !important;}

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
Made4uo-Ribe
Shopify Partner
7781 1881 2306

Its on the sections.liquid. try to find the code in the announcement-bar.liquid. the one wrap with the <style> tag.

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
Dabou
Pathfinder
118 2 16

I was able to find it inside header.liquid , why i added there im not sure, but thank you all for your help
@Made4uo-Ribe @Natasha-Saed 

Website: Dazzilia.com

Rate my website
https://community.shopify.com/c/shopify-design/rate-my-website/td-p/2439579
Made4uo-Ribe
Shopify Partner
7781 1881 2306

This is an accepted solution.

Welcome, I cant tell which specific file in it but im sure its on the liquid file. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.