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

Solved
aminm1
Tourist
13 1 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)
makkaomakka
Shopify Partner
852 159 174

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

❤️❤️

Buy me a coffee


For quick response - Message Me


BFCM: Boost sales with BOGO+ Easy Free Gift Upsell. Enter code "BFWIZZ30" to enjoy 30% OFF.

View solution in original post

Made4uo-Ribe
Shopify Partner
4054 926 1134

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

makkaomakka
Shopify Partner
852 159 174

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

 

❤️❤️

Buy me a coffee


For quick response - Message Me


BFCM: Boost sales with BOGO+ Easy Free Gift Upsell. Enter code "BFWIZZ30" to enjoy 30% OFF.

View solution in original post

aminm1
Tourist
13 1 1

This is an accepted solution.

you are a legend mate 😍😍

View solution in original post

makkaomakka
Shopify Partner
852 159 174

This is an accepted solution.

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

❤️❤️

Buy me a coffee


For quick response - Message Me


BFCM: Boost sales with BOGO+ Easy Free Gift Upsell. Enter code "BFWIZZ30" to enjoy 30% OFF.

View solution in original post

Replies 8 (8)
makkaomakka
Shopify Partner
852 159 174

Can you provide link to your store?

❤️❤️

Buy me a coffee


For quick response - Message Me


BFCM: Boost sales with BOGO+ Easy Free Gift Upsell. Enter code "BFWIZZ30" to enjoy 30% OFF.

aminm1
Tourist
13 1 1

there you go mate 

 

https://electronicsask.com

 

makkaomakka
Shopify Partner
852 159 174

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

❤️❤️

Buy me a coffee


For quick response - Message Me


BFCM: Boost sales with BOGO+ Easy Free Gift Upsell. Enter code "BFWIZZ30" to enjoy 30% OFF.

aminm1
Tourist
13 1 1

Perfect mate. Thanks for your help.

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

makkaomakka
Shopify Partner
852 159 174

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

 

❤️❤️

Buy me a coffee


For quick response - Message Me


BFCM: Boost sales with BOGO+ Easy Free Gift Upsell. Enter code "BFWIZZ30" to enjoy 30% OFF.

aminm1
Tourist
13 1 1

This is an accepted solution.

you are a legend mate 😍😍

makkaomakka
Shopify Partner
852 159 174

This is an accepted solution.

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

❤️❤️

Buy me a coffee


For quick response - Message Me


BFCM: Boost sales with BOGO+ Easy Free Gift Upsell. Enter code "BFWIZZ30" to enjoy 30% OFF.

Made4uo-Ribe
Shopify Partner
4054 926 1134

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com