Add bottom border to header (Sahara)

Topic summary

A user needed to add a bottom border (color #4E5253) to the header in the Sahara Shopify theme.

Solution provided:

  • Navigate to Online Store > Themes > Edit code
  • Select the theme.liquid file
  • Add custom CSS code above the tag to create the border

The solution successfully resolved the initial issue.

Follow-up request:
The user then asked for help adding a matching top border to the footer for visual consistency. A similar CSS code solution was provided and confirmed working.

Status: Resolved - both header bottom border and footer top border implemented successfully.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Hello,

Can someone please tell me how to add a bottom border/ line (color 4E5253) to my header on Sahara theme?

Preview link: https://32jsmyrdendgj3ji-80707387720.shopifypreview.com

TIA

Hello @Alluren

This is Amelia at PageFly - Shopify Advanced Page Builder app.

You can try the following steps I have provided to help you solve the problem you are facing:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid

Step 3: Add code above the tag


Hoping my solution helps you solve your problem.

Best regards,

Amelia | PageFly

2 Likes

Hi Amelia,

This worked perfectly. Thank you for your help :slightly_smiling_face:

Hi @PageFly-Amelia ,

Would you be able to help me with the code to put a top border on the footer to match please?

Hello @Alluren

You can try this code to add a top border on the footer


1 Like

Perfect. Thanks again Amelia