Re: Horizontal line below header

Solved

Horizontal line below header

EdensBakehouse
Excursionist
21 0 9

I want to make the line beneath my header, the same as the line above my footer.

 

edensbakehouse.nl

yuidri

 

Footer line:

EdensBakehouse_0-1736541661912.png

Header line:

EdensBakehouse_1-1736541689082.png

 

So the header line needs to be solid aswell as 1px and same color.

The code i used for the footer line is:

 

<style>
footer {
border-top: solid 1px !important;
}
</style>

 

Please help thanks.

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9578 2279 2828

This is an accepted solution.

Hi @EdensBakehouse 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.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:

 

.header-wrapper {
    border-bottom: 1px solid;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736544257768.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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
9578 2279 2828

This is an accepted solution.

Hi @EdensBakehouse 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.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:

 

.header-wrapper {
    border-bottom: 1px solid;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736544257768.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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

Asad-Mahmood
Navigator
299 51 55

use this code for line below header

@media screen and (min-width: 990px) {
    .header:not(.drawer-menu).page-width {
        border-bottom: solid;
    }
}

 AsadMahmood_0-1736548188976.png

 

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp





Made4uo-Ribe
Shopify Partner
9578 2279 2828

Welcome! Would you mind hitting 'like' as well? Thanks!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.