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
Thank you in advance!
Karen
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:
.hero__text-wrap to display: nonetheme.css.liquid file under Assets folderImplementation challenges:
<style> tags when adding to theme.css.liquidResolution: Issue resolved once the CSS was properly added to theme.css.liquid without additional markup tags.
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
Thank you in advance!
Karen
Follow these steps:
Go to Online Store β Theme β Edit code
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
If you want to use it in theme.liquid then use it with style tag.
like this
I donβt find the code I provide in the source code.
make sure you added the code correctly and save it.
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!