Impulse theme - remove all text from Hero Slideshow on mobile view only

Topic summary

A user seeks to hide hero slideshow text on mobile devices while keeping it visible on desktop in the Impulse Shopify theme. The text appears cluttered on mobile screens.

Solution provided:

  • Add CSS media query targeting screens up to 768px width
  • Code should set .hero__text-wrap to display: none
  • Must be placed in theme.css.liquid file under Assets folder

Implementation challenges:

  • Initial confusion about file location (base.css vs theme.css.liquid)
  • User mistakenly wrapped CSS in <style> tags when adding to theme.css.liquid
  • After clarification to use CSS without style tags in the correct file, the solution worked

Resolution: Issue resolved once the CSS was properly added to theme.css.liquid without additional markup tags.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Hello,

I am hoping someone can help. I would like to remove all the text from the slideshow only - see screenshot. It looks very clumsy on mobile but works well with the desktop view

www.studionellcote.com

Thank you in advance!

Karen

1 Like

Follow these steps:

  1. Go to Online Store β†’ Theme β†’ Edit code

  2. Open your base.css file and paste the following code at the bottom:

@media screen and (max-width: 768px) {
  .hero__text-wrap {
    display: none;
  }
}

Thank you so much for your reply. Would I find the base.css file in the theme.liquid? Sorry, having trouble locating it

You can find it under Asets

Hi Guleria,

It is not there, see screenshot. I tried theme.css.liquid but that did not work

If you want to use it in theme.liquid then use it with style tag.
like this


Unfortunately, that did not work? Should I try something else? Thank you so much for your help

I don’t find the code I provide in the source code.
make sure you added the code correctly and save it.

Please see the screenshot. Did I put it in the wrong place? I appreciate your help!

Not sure what you are doing. A/to the source code you use the css without the style tag.

Sorry I am confused, what you attached is not my screenshot, there is no script tag in mine? Where do I add it in mine?

I had put it in theme.css.liquid not theme.liquid. That now works. Thank you!