Hi, great theme man!!! I need to invert plus/minus button for caption in mobile version. When I load page i need to show text and when I click on "minus" i need to hide it. How can I do that?
If I use this code below I can show text at the beginning but then I can't hide it
@media only screen and (max-width: 768px) { .slide-caption h2.title, .slide-caption .description{ display: block; } }
apelissetti said: I need to invert plus/minus button for caption in mobile version.
Why would you do that? It sounds misleading.
Anyway go to photon-a13\js\a13-slider.js line ~1902 and swap + and - in these lines : toggle.removeClass('open').text('+'); toggle.addClass('open').text('-');
also in same file line ~1424 swap + with - in this line: '<div class="texts-opener">+</div>' + (First + that is inside div).
Comments
Anyway go to photon-a13\js\a13-slider.js line ~1902
and swap + and - in these lines :
toggle.removeClass('open').text('+');
toggle.addClass('open').text('-');
also in same file line ~1424 swap + with - in this line:
'<div class="texts-opener">+</div>' +
(First
+
that is insidediv
).With kind regards.