Solved

Dawn - Announcement Bar Arrows Spacing

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
5437 1308 1610

This is an accepted solution.

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 8 (8)

Made4uo-Ribe
Shopify Partner
5437 1308 1610

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


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
5437 1308 1610

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

 

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


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
411 45 70

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
5437 1308 1610

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


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
5437 1308 1610

This is an accepted solution.

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com