Slideshow title line break

Highlighted
New Member
2 0 0

Hi, I am using debut theme

www.studio905ldn.com

password: cabbage 

I read some threads on how to add a line break in the title of the slideshow.

it has worked for me successfully on desktop but on mobile it is showing the <br> code.

Please could someone let me know how I can hide this on mobile?

also any hints on improving the slideshow layout in mobile. I don’t like how it is separating the image from the text.

thank you!

0 Likes
Highlighted
Shopify Partner
591 84 127

PLease place this code between <head></head>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==" crossorigin="anonymous"></script>
<script type="text/javascript">
$('.slideshow__title--mobile').text( $('.slideshow__title--mobile').text().replace("<br>", '')); 

</script>
If this solution works, then please accept it as solution and like.
For theme customization, please contact parambabla.soft@gmail.com
0 Likes