Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
This is an accepted solution.
Welcome, I cant tell which specific file in it but im sure its on the liquid file.
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:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
@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
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?
When you adjust the width. the result is,
@Made4uo-Ribe Yes, thats the code im looking for, i cant find where its placed in my store.
Hi,
You can directly overide this code by adding a custom css onto this section.
.announcement-bar-slider .slider {width: 100% !important;}
Its on the sections.liquid. try to find the code in the announcement-bar.liquid. the one wrap with the <style> tag.
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
This is an accepted solution.
Welcome, I cant tell which specific file in it but im sure its on the liquid file.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024