Shopify themes, liquid, logos, and UX
I have pasted this code on theme.css
.site-header__logo-image {background-color: #fff !important;}
its fixed on desktop but it is still showing the grey background on mobile
https://gyazo.com/5c028f5baf2d4d1797f7189f27ab5c88
Solved! Go to the solution
This is an accepted solution.
I found the solution, thanks for your time 😃
Hello.....
Please share your store URL and screenshot.
So that I will check and let you know the exact solution here.
I did not see any gray background here pls check again..
when I have it on my browser, mobile view it isnt there but on my mobile device it is still showing =(
Even I have checked in mobile device.. it is fine.
I let my friend check, he has the same problem
on my 2 mobile devices i have the same problem aswell
I dont know why its showing on some devices and on other devices it doesnt.
can anyone help me here please?
Clean your mobile browser history then check
I already did, it is still buggy
the problem came when I added {% comment %}, {% endcomment %} in header.liquid to remove the search icon, maybe that was the problem?
{% comment %}
<button type="button" class="btn--link site-header__icon site-header__search-toggle js-drawer-open-top" data-predictive-search-open-drawer>
{% include 'icon-search' %}
<span class="icon__fallback-text">{{ 'layout.navigation.search' | t }}</span>
</button>
{% endcomment %}
Now Is it showing background or not with search code?
when I removed the search icon the background turned grey on desktop and mobile view, then I added the
site-header__logo-image {background-color: #fff !important;}
on theme.css to get rid of the background but it kept showing the grey background on mobile
This is an accepted solution.
I found the solution, thanks for your time 😃
Can you share what your solution was? Having this exact issue.
hi anybody solved?
Do you mind sharing what fixed your issue? I'm having a similar one.
.site-header__logo-image { background: transparent!Important; animation: none!important; }
THIS WORKS IV LOOKED AT TWENTY PLUS THIS IS THE ONLY ONE THAT WORKS
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024