Fix margin top mobile

Fix margin top mobile

Luxurymrkt
Globetrotter
756 2 161

Hi I want to reduce the margin between header and start of page on this page https://luxurymrkt.com/collections

 

thanks!

790FD629-8372-48CE-99AC-60AA624E179F.jpeg
Thank You | mike
Replies 4 (4)

niraj_patel
Shopify Partner
2391 516 515

Hello @Luxurymrkt 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media only screen and (max-width: 768px) {
.breadcrumb {
margin-top: -62px !important;
}
}
</style>

niraj_patel_0-1722605182835.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Luxurymrkt
Globetrotter
756 2 161

This won’t reduce the breadcrumbs on my collection page right?

https://luxurymrkt.com/collections/brunello-cucinelli

 

 

Thank You | mike
niraj_patel
Shopify Partner
2391 516 515

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media only screen and (max-width: 768px) {
  .breadcrumb {
     margin-top: unset !important;
  }
}
</style>

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

BSSCommerce-B2B
Shopify Partner
1972 564 568

Hi my friend @Luxurymrkt ,

 

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

 

Step 2: Search for the file theme.css. And add this code snippet to the end of the file.

 

@media only screen and (max-width: 768px) {
  .grid.grid--uniform {
    margin-top: -50px !important;
  }
   nav.breadcrumb {
    margin-top: unset !important;
   }
}

 

In this step, you can reduce the margin between header and start of page. Simultaneously, display navigation "HOME/ COLLECTIONS"

 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_2-1724383754454.png

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

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