Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How to fit website menus in the header in the home page?

Solved

How to fit website menus in the header in the home page?

aminm1
Excursionist
21 2 1

Hi Experts,

 

I have 5 menus in my website home page header and they are not fitting?

 

Can someone please guide where is the settings for this? 

 

Regards,

Amin

 

Accepted Solutions (5)
theycallmemakka
Shopify Partner
1720 417 435

This is an accepted solution.

Hi @aminm1 ,

 

As you have too many items on your header, we cannot fit it on a one line. However I have written a Custom CSS to deautify the existing header.

 

makkaomakka_0-1699719503277.png

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code just above </body> tag

<style>
.site-header {
    height: fit-content!important;
    padding: 10px 0 10px 0;
}
</style>

 

 

If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

Made4uo-Ribe
Shopify Partner
9039 2160 2665

This is an accepted solution.

Hi @aminm1 

Check this one. 

  • 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 "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:

 

.wrapper {
    max-width: 100% !important;
}

 

  • And save. 
  • Result:
  • Made4uoRibe_0-1699721876680.png

     

Please don't forget to Like and Mark Solution to the post that helped you. 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 ⚙️.

View solution in original post

theycallmemakka
Shopify Partner
1720 417 435

This is an accepted solution.

Hi @aminm1 ,

 

As the header has been fixed, you can mark the answer as accepted. Also like all my replies to motivate me.

 

Meanwhile, for your other question, please follow below step.

 

Step 1: Go to Online Store > Navigation

makkaomakka_1-1699723337499.png

Step 2: Add product to navigation

makkaomakka_2-1699723364573.png

Step 3: Reposition the navigation as a child by dragging

 

makkaomakka_0-1699723296417.png

 

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

aminm1
Excursionist
21 2 1

This is an accepted solution.

you are a legend mate 😍😍

View solution in original post

theycallmemakka
Shopify Partner
1720 417 435

This is an accepted solution.

Did you just accept your own reply as an answer? Or was that a mistake?

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

Replies 8 (8)

theycallmemakka
Shopify Partner
1720 417 435

Can you provide link to your store?

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

aminm1
Excursionist
21 2 1

there you go mate 

 

https://electronicsask.com

 

theycallmemakka
Shopify Partner
1720 417 435

This is an accepted solution.

Hi @aminm1 ,

 

As you have too many items on your header, we cannot fit it on a one line. However I have written a Custom CSS to deautify the existing header.

 

makkaomakka_0-1699719503277.png

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code just above </body> tag

<style>
.site-header {
    height: fit-content!important;
    padding: 10px 0 10px 0;
}
</style>

 

 

If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

aminm1
Excursionist
21 2 1

Perfect mate. Thanks for your help.

Can you please advsie how can I add more products under a tab like Christmas picks?

theycallmemakka
Shopify Partner
1720 417 435

This is an accepted solution.

Hi @aminm1 ,

 

As the header has been fixed, you can mark the answer as accepted. Also like all my replies to motivate me.

 

Meanwhile, for your other question, please follow below step.

 

Step 1: Go to Online Store > Navigation

makkaomakka_1-1699723337499.png

Step 2: Add product to navigation

makkaomakka_2-1699723364573.png

Step 3: Reposition the navigation as a child by dragging

 

makkaomakka_0-1699723296417.png

 

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

aminm1
Excursionist
21 2 1

This is an accepted solution.

you are a legend mate 😍😍

theycallmemakka
Shopify Partner
1720 417 435

This is an accepted solution.

Did you just accept your own reply as an answer? Or was that a mistake?

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Made4uo-Ribe
Shopify Partner
9039 2160 2665

This is an accepted solution.

Hi @aminm1 

Check this one. 

  • 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 "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:

 

.wrapper {
    max-width: 100% !important;
}

 

  • And save. 
  • Result:
  • Made4uoRibe_0-1699721876680.png

     

Please don't forget to Like and Mark Solution to the post that helped you. 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 ⚙️.