Hi every body
I have no text to see with the READ ALL button on the login page.
I would like hide or delete the button
Anyone know the solution ?
Thank you
How to delete the button READ ALL ?
Re: How to delete the button READ ALL ?
Hi,
you should search in:
/templates/standard/layout/appCore/homepage/show.html.twig
and get rid of those snippets:
and further:
you should search in:
/templates/standard/layout/appCore/homepage/show.html.twig
and get rid of those snippets:
Code: Select all
<div class="collapse-wrapper" data-toggle="collapse" data-target="#description">
<a class="forma-button forma-button--orange is-hidden js-show-collapsed-text" href="#">
{{ read_all|raw }}
</a>
<span class="glyphicon glyphicon-remove icon icon--close">{{ close|raw }}</span>
<br/><br/>
</div>
Code: Select all
<script>
$(document).ready(function () {
var $elem = $('.js-collapsed-text');
var _textHeight = $elem.children('p').height();
var _containerHeight = $elem.height();
var $btn = $('.js-show-collapsed-text');
if (_textHeight > _containerHeight) {
$btn.removeClass('is-hidden');
}
});
</script>
Per supporto GRATUITO contattatemi in privato qui
Re: How to delete the button READ ALL ?
thank you alfa