Change Position of Border line

Solved

Change Position of Border line

Littleonesprelo
Tourist
7 0 2

Hi, i have the paid of expression theme for my website www.littleonespreloved.co.uk. I've added a border line underneath my main navigation, after my previous border line seemed to have disapeared. However, now it is underneath my social icons. Please could anyone advise me on how to change it so the social icons are just underneath the border line. 

 

I used this border code in Theme.liquid:

<style>
header {
border-bottom: solid 1px !important;
}
</style>

 

Thank you 

Screenshot 2025-01-11 202539.png

 

Accepted Solution (1)

IoannisM
Shopify Partner
13 3 2

This is an accepted solution.

try this instead:

<style>
.main-nav-bar {
border-bottom: solid 1px black !important;
}
</style>

- If my answer was helpful, you can buy me a coffee.
- If you need more complex CSS, JS, and Liquid customization, contact me here.

View solution in original post

Replies 4 (4)

IoannisM
Shopify Partner
13 3 2

This is an accepted solution.

try this instead:

<style>
.main-nav-bar {
border-bottom: solid 1px black !important;
}
</style>

- If my answer was helpful, you can buy me a coffee.
- If you need more complex CSS, JS, and Liquid customization, contact me here.
Littleonesprelo
Tourist
7 0 2

Thank you, this worked!

Made4uo-Ribe
Shopify Partner
10202 2422 3067

Hi @Littleonesprelo 

Exchange on this code. 

 

<style>
.page-header--content {
    border-bottom: 1px solid;
}
</style>

 

And Save. 

Result:

Made4uoRibe_0-1736631659320.png

 

 

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Littleonesprelo
Tourist
7 0 2

Thank you! this has sorted it!