New Shopify Certification now available: Liquid Storefronts for Theme Developers

Weird overlap of sections

Solved
tinyotters
Excursionist
27 0 7

Hi All, I'm at tinyotters.com - we're having this odd overlap about halfway down in one of our sections on the mobile version of our homepage.  Any thoughts?

 

tinyotters_0-1668651741073.png

 

 

Accepted Solution (1)
GemPages
Shopify Partner
5587 1260 1163

This is an accepted solution.

Hi @tinyotters 

 

You can follow:

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

3. Paste the below code before </body>

<style>
     @media screen and (max-width: 749px){
        #Banner-template--14876584706186__1663593643728333ea .banner__heading{
            margin-top: 0px !important;
                
          }
         #Banner-template--14876584706186__1663593643728333ea .banner__content{
           order: 1 !important;
         }
         #Banner-template--14876584706186__1663593643728333ea .banner__media{
           order: 2 !important;
         }
      }
  </style>

(I changed the code above to avoid conflicts)

 

Like this:

GemPages_0-1668673194526.png

 

I hope it works.

Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 12 (12)
GemPages
Shopify Partner
5587 1260 1163

@Hello @tinyotters 

I would like to give you some recommendations to support you

 

The issue comes from below code in your theme.

GemPages_0-1668655754414.png

 

 

You can instead the above code or write below it by this code 

     @media screen and (max-width: 749px){
        .banner__heading{
            margin-top: 0px !important;
                
          }
         .banner--mobile-bottom:not(.banner--stacked) .banner__content{
           order: 1 !important;
         }
         .banner--mobile-bottom .banner__media{
           order: 2 !important;
         }
      }

 

Hope my recommendation can works and support for you!
Kind & Best regards! 

GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
tinyotters
Excursionist
27 0 7

@GemPagesWhere do I post this code?  What part of the coding section?

GemPages
Shopify Partner
5587 1260 1163

This is an accepted solution.

Hi @tinyotters 

 

You can follow:

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

3. Paste the below code before </body>

<style>
     @media screen and (max-width: 749px){
        #Banner-template--14876584706186__1663593643728333ea .banner__heading{
            margin-top: 0px !important;
                
          }
         #Banner-template--14876584706186__1663593643728333ea .banner__content{
           order: 1 !important;
         }
         #Banner-template--14876584706186__1663593643728333ea .banner__media{
           order: 2 !important;
         }
      }
  </style>

(I changed the code above to avoid conflicts)

 

Like this:

GemPages_0-1668673194526.png

 

I hope it works.

Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
tinyotters
Excursionist
27 0 7

This one worked @GemPages !  Thank you!

GemPages
Shopify Partner
5587 1260 1163

I am glad that my solution is helpful to you 😁.

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
MariposaSLMA
Visitor
2 0 0

Hello, I am having the same problem -- in several places on our homepage.

 

I wondered if this fix would also work with the Dawn theme?

 

Also, I am not a coder and feel uncertain about using code -- is there another way to fix this using the editing menu instead of code?


Thanks!

KetanKumar
Shopify Partner
36721 3634 11914

@tinyotters 

oh sorry for this issue, can you please send store url so i will check and guide you

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
tinyotters
Excursionist
27 0 7

www.tinyotters.com - sorry thought i posted it in the original link!

PageFly-Victor
Shopify Partner
7865 1785 3018

Hi @tinyotters ,

 

This is Victor from PageFly - Advanced Page Builder. I would love to give you some recommendations

  • Go to Online Store->Theme->Edit code
  • Asset-> theme.css paste the below code at the bottom of the file
@media screen and (max-width: 749px){

.banner__heading {

margin-top:-300px !important

}

}

PageFlyVictor_0-1668680324574.png

 

Hope my solution works perfectly for you!

 

Best regards,

Victor | PageFly

banned
tinyotters
Excursionist
27 0 7

@PageFly-Victorthis one didn't work sadly

Cedcommerce
Shopify Expert
717 76 110

Hello @tinyotters,

 

To fix this issue, you need to add the below code at the end of your assets/base.css file:

 

@media screen and (max-width: 749px){

   .banner__heading{

          margin-top: 0px !important;

   }

   .banner--mobile-bottom .banner__media{

          order: 2 !important;         

    }

}

 

Hope it helps, let us know if you need any help. 

 

Regards, 

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here
tinyotters
Excursionist
27 0 7

Sadly this did not work.