Dawn theme troubleshooting - urgent

Dawn theme troubleshooting - urgent

Sivadarshan
Shopify Partner
405 2 90

In my dawn theme website, I want to hide the nitro scratch card popup in mobile view. please help me to hide that.

 

website: https://offnorth.com/

 

Screenshot 2025-05-24 104415.png

 

please help me to remove this 

Replies 3 (3)

GTLOfficial
Shopify Partner
880 182 192

Hello @Sivadarshan 
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.

@media screen and (max-width: 768px) {
#nitroPopUpIframeContainer {
  display: none !important;
}
}

result
18.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
Sivadarshan
Shopify Partner
405 2 90

@GTLOfficial I have tried multiple times this code, but nothing happens

tim
Shopify Partner
4743 582 1711

The CSS code in your base.css is not closed properly. 

Browser can live with that, but when you add more code, it does not work 100% as expected.

 

This is why I try to avoid editing theme code in my recommendations.

 

What you can do:

1) Try adding this code to the Customize=> Theme Settings=> Custom CSS. Or,

2) Add a "Custom liquid" section to the "Footer" section group and add code wrapped with <style> ... </style> tags. Or, 

2) add a closing curly brace before the code recommended by @GTLOfficial if adding to the bottom of the base.css, like this:

}

@media screen and (max-width: 768px) {
  #nitroPopUpIframeContainer {
    display: none !important;
  }
}
If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com