Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey team,
I am working on our Noma.com site and my subtext is not displaying on mobile and was wondering if someone can assist me with what code to add into our file?
Desktop:
Mobile:
I identified where my header text is from component-slideshow.liquid
but not sure what to add here.
{%- endif -%}
<div class="content medium-up--one-quarter small--four-fifths small--text-center">
{% if block.settings.title != blank %}
<h5 class="h2" style="color:{{block.settings.font_color}} !important">{{block.settings.title}}</h5>
{% endif %}
Solved! Go to the solution
This is an accepted solution.
Hi @ctsimon,
Please send code of component-slideshow.liquid file. I need the code of the whole thing to be able to see the subtext variable.
Then I will guide you to add the code to display it.
Ex: subtext variable is subtext. Please add the code here: https://i.imgur.com/Oe8k4gU.png
{% if block.settings.subtext != blank %}
<p class="h6" style="color:{{block.settings.font_color}} !important">{{block.settings.subtext }}</p>
{% endif %}
Hope it clear to you.
Hello , @ctsimon
There are two different slideshows for desktop and mobile. So I think you didn't put HTML code for subtext in mobile slideshow.
Hi @ctsimon,
I checked and your slideshow is divided into 2, 1 display on desktop, 1 display on mobile and code on mobile without subtext. So can you send me the code of sections/slideshow.liquid file or component-slideshow.liquid file. I will check and guide you in detail.
This is an accepted solution.
Hi @ctsimon,
Please send code of component-slideshow.liquid file. I need the code of the whole thing to be able to see the subtext variable.
Then I will guide you to add the code to display it.
Ex: subtext variable is subtext. Please add the code here: https://i.imgur.com/Oe8k4gU.png
{% if block.settings.subtext != blank %}
<p class="h6" style="color:{{block.settings.font_color}} !important">{{block.settings.subtext }}</p>
{% endif %}
Hope it clear to you.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025