Shopify themes, liquid, logos, and UX
hello, can anyone help me on how to achieve this?
I want to put a line on the links like that in the header and when in other pages it will turn to be black.
Thank you!
Solved! Go to the solution
This is an accepted solution.
@sweetchin23 wrote:thank you, but can i extend the width until the icon?
nav.header__inline-menu:after {
position: absolute;
content: "";
height: 2px;
background-color: white;
width: 79%;
top: 71%;
left: 19%;
}
Hey @sweetchin23
Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!
Best Regards,
Moeed
alright thank you
Hey @sweetchin23
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
nav.header__inline-menu {
border-bottom: solid 2px white;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
thank you, but can i extend the width until the icon?
This is an accepted solution.
@sweetchin23 wrote:thank you, but can i extend the width until the icon?
nav.header__inline-menu:after {
position: absolute;
content: "";
height: 2px;
background-color: white;
width: 79%;
top: 71%;
left: 19%;
}
Oh wow! Thank you! It is perfect, but I also have another question, is it possible to make it black when I change to another page? Like this? Thank you so much!
Yes it possible
If this solution worked for you, please mark it as resolved.
Thank you, i will just put it in my theme.liquid and make it !=index right?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024