I am using the purchased theme Artisan and the text is not showing up on our main banners on mobile, only desktop.
The site is broughttoreality.com
Can someone help? Thank you so much
I am using the purchased theme Artisan and the text is not showing up on our main banners on mobile, only desktop.
The site is broughttoreality.com
Can someone help? Thank you so much
Hey @btr-clothing ,
Please add the following code at the end of your assets/style.scss file.
@media only screen and (max-width: 798px){
h1.headline { color: #000000 }
}
Let me know if this works for you.
Thanks!
Hi there, thank you but unfortunately that did not work
Still that script on your website ?
Then I will check.
It is still there, yes
Hey @btr-clothing ,
I can see there is some problem with the theme.
check your layout/theme.liquid file. Try to find out the following. check screenshot. We will have to remove â!importantâ.
If you enable to do that, please send me your theme zip. I will find and remove that. Then the above given code will work for mobile.
Thanks!
Thatâs not working either, how do I paste to you the html code I am seeing? Iâm not seeing an option to export the html code unfortunately. I appreciate your help on this
{% capture content %}
{{ âstyles.scss.cssâ | asset_url | stylesheet_tag }}
.slideshow { opacity: 1; }.product_gallery {
opacity: 1;
}
.mainBar__container.overflowâhidden {
overflow: visible;
}
.newsletter-popup.remodal {
display: none;
}
.fallbackImage {
max-width: 100%;
}
.noscript {
display: block;
}
img.lazyload[src*=â_100xâ],
img.lazyload[src*=â_50xâ] {
display: none;
}
.product_gallery_nav {
display: none;
}
{% if current_tags %}{% assign meta_tags = current_tags | join: ', â %}{% endif %}
{% if template contains "index" %}{{ page_title }}{% else %}{{ page_title }}{% if current_tags %} {{ 'general.meta.tagged_html' | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} {{ 'general.meta.page' | t: page_number: current_page }}{% endif %}{% unless page_title contains shop.name %} - {{ shop.name }}{% endunless %}{% endif %}{% if page_description %}
{% endif %}
{% render âsocial-meta-infoâ %}
{% if collection.previous_product %}{% endif %}
{% if collection.next_product %}{% endif %}
{% if settings.favicon != nil %}
{% else %} {% endif %}{% if template contains âcustomerâ %}
{{ âshopify_common.jsâ | shopify_asset_url | script_tag }}
{{ âcustomer_area.jsâ | shopify_asset_url | script_tag }}
{% endif %}
{{ content_for_header }}
{% for locale in shop.enabled_locales %}
{% if locale.primary == true %}
{% assign defaultLocale = locale.iso_code %}
{% endif %}
{% endfor %}
{% section âheaderâ %}
{% section âfooterâ %}
{% section âpopupâ %}
{% if settings.disqus_enabled %}
{% if template contains âblogâ or template contains âarticleâ or template contains âindexâ %}
{% endif %}
{% endif %}
{% if settings.shipping_calc and shop.enabled_currencies.size > 1 %}
{% endif %}
{% if settings.shipping_calc and template contains âcartâ %}
{% render âcurrenciesâ %}
{% render âcart-shipping-scriptsâ %}
{% endif %}
@media screen and (max-width: 767px) { .index-section.slideshow-container {
position: relative;
}
.slideshow__mobile-text-container {
position: absolute;
top: 32%;
z-index: 999;
left: 0;
right: 0;
background: #000;
opacity: .6;
}
.slideshow__mobile-text-container h2 {
color: #000000;
width: 100% ;
}}
That is the code for the page Layout / theme.liquid
Unfortunately, the code is not here ![]()
Can you send me a theme zip?
I will be able to get it tomorrow and follow up then
Sure no problem. Meanwhile, If I get any solution then I post here. Donât worry
Hey @btr-clothing ,
I have an idea if we canât change the text color. We can change the background of the text. So for now it will be visible on mobile devices.
Please replace my given code with the following
@media only screen and (max-width: 798px){
h1.headline { background-color: #000000 }
}
This should work for you.
Thanks!
Hi there, mobile version still appears the same when I add that code
I put the code in theme.liquid and it made no change, I put it in slideshow.liquid and the code appeared on the homepage. It is now only in theme.liquid.
Is it not possible to have the text on the image on the mobile version? That is what we would really prefer. Thank you
I have checked your webshop. you added to the code wrong location.