Shopify themes, liquid, logos, and UX
Hi guys,
Could someone please help me figure out what code I need to remove the white box that appears under the slideshow, when viewing my website on mobile.
It is perfectly fine on computer but on mobile it shows a box.
Thank you!
Nelson
Solved! Go to the solution
This is an accepted solution.
very odd,
ok lets tag on, with the original edit you had from the previous poster
instead of below, put margin-top: 20px; delete the padding and display non
.slideshow__arrows--mobile ~ .slideshow__text-content--mobile { padding-top: 1.7rem; display: none !important; }
Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.
To hire me, visit my Upwork profile
This is an accepted solution.
margin-top: 20px !important;
should be on 1 line
Here is what it looks like when I implemented it
Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.
To hire me, visit my Upwork profile
That white box shows a caption or you can say the text of that slide. The first slide you have the text "Welcome to TRILOGY" so in the white box it displays that text with the first slider. When it moves to the next slider that white box disappears because other slides don't have text/captions.
Hope I explained well 🙂
Thanks!
Please try to add the following code at the bottom of your assets/theme.scss.liquid file.
.slideshow__arrows--mobile ~ .slideshow__text-content--mobile {
padding-top: 1.7rem;
display: none !important;
}
Let me know if this works.
Thanks!
Hey, Thank you for the fast reply.
When I put that code in it removed the white box but it also removed the shop now button and the text from website view too.
Is there a way to remove just the white box?
Thanks
Are you talking about that white overlay?
Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.
To hire me, visit my Upwork profile
If it's that white box above. The fix here is below, go to your theme.scss file, search for the below code
.slideshow__text-content::after {
content: '';
content: '';
display: block;
width: 40px;
height: 40px;
position: absolute;
margin-left: -20px;
margin-top: -20px; <<<<<<<<<< DELETE THIS ONE
border-radius: 50%;
border: 3px solid #fff;
border-top-color: rgb(255, 255, 255);
border-top-color: transparent;
-moz-animation: spin 0.65s infinite linear;
-o-animation: spin 0.65s infinite linear;
-webkit-animation: spin 0.65s infinite linear;
animation: spin 0.65s infinite linear;
opacity: 1;
transition: all 1s cubic-bezier(0.29, 0.63, 0.44, 1);
bottom: -55px;
left: 50%;
}
Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.
To hire me, visit my Upwork profile
I could not find that text in my code.
This is the only similar things i found:
.slideshow__text-content {
@include media-query($medium-up) {
transition: $transition-text-slideshow;
transition-delay: 0.3s;
}
.slideshow__text-wrap--desktop & {
position: absolute;
width: 100%;
top: 50%;
opacity: 0;
z-index: $z-index-slideshow-text;
}
@include media-query($medium-up) {
&.slideshow__text-content--vertical-top {
top: 120px;
}
&.slideshow__text-content--vertical-bottom {
top: auto;
bottom: 40px;
}
}
.slick-initialized .slick-active &,
.no-js & {
@include transform(translateY(-40px));
opacity: 1;
}
.slick-initialized .slick-active &.slideshow__text-content--vertical-center,
.no-js &.slideshow__text-content--vertical-center {
@include transform(translateY(-50%));
}
&::after {
content: '';
@include spinner(40px, $slideshow-loader);
@include animation(spin 0.65s infinite linear);
opacity: 1;
transition: all 1s cubic-bezier(0.29, 0.63, 0.44, 1);
bottom: -$gutter-site;
left: 50%;
@include media-query($small) {
content: none;
}
}
.slick-initialized &,
.no-js & {
&::after {
opacity: 0;
visibility: hidden;
content: none;
}
}
}
.slideshow__text-content--mobile {
display: none;
padding-top: 2.6rem;
.slideshow__arrows--mobile ~ & {
padding-top: 1.7rem;
@include media-query($medium-up) {
padding-top: 0;
}
}
@include media-query($medium-up) {
padding-top: 0;
&::after {
display: none;
}
}
}
are you in the theme.scss file?
Search for the below element there wouldn't be too many finds with this as it's a very specific element.
margin-top: -20px;
Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.
To hire me, visit my Upwork profile
Yes I am in theme.scss.liquid @JohnFromJotting
I searched it and still couldn't find
only this
.slideshow__title--mobile {
margin-bottom: 0;
& ~ .slideshow__subtitle--mobile {
margin-top: 0.5rem;
This is an accepted solution.
very odd,
ok lets tag on, with the original edit you had from the previous poster
instead of below, put margin-top: 20px; delete the padding and display non
.slideshow__arrows--mobile ~ .slideshow__text-content--mobile { padding-top: 1.7rem; display: none !important; }
Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.
To hire me, visit my Upwork profile
Thank you for taking your time to help me with this, i appreciate it!
I did what you said and inserted this
.slideshow__arrows--mobile ~ .slideshow__text-content--mobile {
margin-top: 20px;
!important;
}
It changed the whole website and made everything change. Is there any other solutions you can think of?
This is an accepted solution.
margin-top: 20px !important;
should be on 1 line
Here is what it looks like when I implemented it
Check out my blog for some awesome Shopify, SEO and Social Media Marketing content.
To hire me, visit my Upwork profile
Thank you very much!
Hello,
I am wondering if you could help me with a similar issue.
The beige box and the pause button is covering the image
Any help you could offer I would greatly appreciate it!
Good day! Can you also help me hot to remove the dots below slideshow to remove the space/Gap or move it inside the slide itself? Thankyou!
<div class="flexslider">
<ul class="slides">
<li><img src=""/></li>
<li><img src="https://cdn.shopify.com/s/files/1/0427/7302/0824/files/TOTAL_TECHNOLOGY_SOLUTIONS_PROVIDER.png?v=161...>
</ul>
</div>
<script type="text/javascript">
$(window).load(function() {
$('.flexslider').flexslider({
animation: "slide",
directionNav: false
});
});
</script>
Here are the code that I used to make slideshow on my homepage @JohnFromJotting
Yes that is the white overlay I will try it now
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024