How can I move my menu content higher

Solved

How can I move my menu content higher

Aleksander22
Trailblazer
174 0 58

Hello, 

I got quick question. How can I mind my content in menu higher I mean mobile version. Here is example 

IMG_1961.jpeg

Accepted Solutions (2)

BSSCommerce-B2B
Shopify Partner
1758 538 596

This is an accepted solution.

@Aleksander22 , Add this code at the very bottom of base.css file

.menu-drawer__navigation {
  padding-top: 0!important
}

 Result:

BSSCommerceB2B_0-1727453295160.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

BSSCommerce-B2B
Shopify Partner
1758 538 596

This is an accepted solution.

@Aleksander22,

Step 1: Find the find base.css. And add this code to the end of the file

.header-drawer-logo-wrapper {
  text-align: center;
  display: none
}
.section-header.menu-open .header-drawer-logo-wrapper {
  display: flex;
  position: absolute;
  z-index: 9;
  width: 100vw;
  padding-top: 10px;
  align-items: center;
}
#Details-menu-drawer-container > summary {
  z-index: 10
}
#Details-menu-drawer-container > summary:before {
  display: none;
}

Step 2: Search for the file header.liquid and add this code to the position i've marked here

BSSCommerceB2B_0-1727453804766.png

This is the code

 <div class="header-drawer-logo-wrapper">
   {% if section.settings.header_drawer_logo %}
      <img class="header-drawer-logo" src="{{ section.settings.header_drawer_logo | img_url: 'original' }}" alt="Header Drawer Logo" height="50px">
    {% endif %}
  </div>

Step 3: Also in the header.liquid file, add this code to this position before "blocks"

BSSCommerceB2B_1-1727453967376.png

Here is the code:

    ,{
      "type": "image_picker",
      "id": "header_drawer_logo",
      "label": "Header Drawer Logo",
    }

And you have an option in customize to choose the logo image

Like this

BSSCommerceB2B_2-1727454065438.png

Hope it helps you 😊

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 5 (5)

BSSCommerce-B2B
Shopify Partner
1758 538 596

This is an accepted solution.

@Aleksander22 , Add this code at the very bottom of base.css file

.menu-drawer__navigation {
  padding-top: 0!important
}

 Result:

BSSCommerceB2B_0-1727453295160.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Aleksander22
Trailblazer
174 0 58

Thanks for your help could I ask you to help me with adding logo here 

IMG_1966.jpeg

BSSCommerce-B2B
Shopify Partner
1758 538 596

This is an accepted solution.

@Aleksander22,

Step 1: Find the find base.css. And add this code to the end of the file

.header-drawer-logo-wrapper {
  text-align: center;
  display: none
}
.section-header.menu-open .header-drawer-logo-wrapper {
  display: flex;
  position: absolute;
  z-index: 9;
  width: 100vw;
  padding-top: 10px;
  align-items: center;
}
#Details-menu-drawer-container > summary {
  z-index: 10
}
#Details-menu-drawer-container > summary:before {
  display: none;
}

Step 2: Search for the file header.liquid and add this code to the position i've marked here

BSSCommerceB2B_0-1727453804766.png

This is the code

 <div class="header-drawer-logo-wrapper">
   {% if section.settings.header_drawer_logo %}
      <img class="header-drawer-logo" src="{{ section.settings.header_drawer_logo | img_url: 'original' }}" alt="Header Drawer Logo" height="50px">
    {% endif %}
  </div>

Step 3: Also in the header.liquid file, add this code to this position before "blocks"

BSSCommerceB2B_1-1727453967376.png

Here is the code:

    ,{
      "type": "image_picker",
      "id": "header_drawer_logo",
      "label": "Header Drawer Logo",
    }

And you have an option in customize to choose the logo image

Like this

BSSCommerceB2B_2-1727454065438.png

Hope it helps you 😊

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Aleksander22
Trailblazer
174 0 58

Thanks you help me a lot appreciate that 

BSSCommerce-B2B
Shopify Partner
1758 538 596

@Aleksander22, Glad to help you 😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now