Hi guys,
I have text as a part of the slides images design, I didn’t use the theme building Heading and Sub-Heading. In desktop view, no issues, but in mobile view, the placeholder of the headings is visible with a big white background.
Thank you,
A user embedded text directly into slideshow images rather than using theme heading fields. This causes display issues on mobile devices, where empty heading placeholders appear as large white boxes or grids.
Proposed Solution:
Another user provided CSS code to hide the mobile text wrapper and adjust button display:
.slideshow__text-wrap--mobile on screens under 749pxCurrent Status:
After initial implementation, the user reported persistent issues with double buttons and white grid elements still visible. A corrected CSS snippet was then provided to properly target and hide the mobile text wrapper.
The discussion involves troubleshooting custom CSS to resolve conflicts between image-embedded text and theme’s built-in slideshow text elements.
Hi guys,
I have text as a part of the slides images design, I didn’t use the theme building Heading and Sub-Heading. In desktop view, no issues, but in mobile view, the placeholder of the headings is visible with a big white background.
Thank you,
Hi @Alliance
@media(max-width: 749px){
.template-index .slideshow .slideshow__text-wrap--mobile {
display: none!important;
}
.template-index .slideshow .slideshow__btn {
display: inline-block!important;
min-height: inherit!important;
line-height: 1;
max-width: 39%;
margin-left: auto;
font-size: 2vw;
}
.template-index .slideshow__text-wrap--desktop .slideshow__text-content {
top: auto!important;
bottom: 8%!important;
transform: none!important;
}
}
Hi @Alliance
sorry it should be
.template-index .slideshow__text-wrap--mobile {
display: none!important;
}
Not
.template-index .slideshow .slideshow__text-wrap--mobile {
display: none!important;
}
Remove .slideshow