change dotmore to tainacan-interface-truncate

This commit is contained in:
Fabiano Alencar 2018-11-22 20:01:11 -02:00
parent 97bf35d0d8
commit c1ebd06dda
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
<?php
echo '<style>
.t-bg-collection .t-collection--info .t-collection--info-description-text.dotmore .toggle::before {
.t-bg-collection .t-collection--info .t-collection--info-description-text.tainacan-interface-truncate .toggle::before {
content: "[ ' . __( 'Show more', 'tainacan-interface' ) . ' ]";
}
.t-bg-collection .t-collection--info .t-collection--info-description-text.dotmore.full-story .toggle::before {
.t-bg-collection .t-collection--info .t-collection--info-description-text.tainacan-interface-truncate.full-story .toggle::before {
content: "[ ' . __( 'Show less', 'tainacan-interface' ) . ' ]";
}
nav.menu-belowheader #menubelowHeader ul.dropdown-menu {

View File

@ -1,8 +1,8 @@
<?php echo '<style>
.t-bg-collection .t-collection--info .t-collection--info-description-text.dotmore .toggle::before {
.t-bg-collection .t-collection--info .t-collection--info-description-text.tainacan-interface-truncate .toggle::before {
content: "[ ' . __( 'Show more', 'tainacan-interface' ) . ' ]";
}
.t-bg-collection .t-collection--info .t-collection--info-description-text.dotmore.full-story .toggle::before {
.t-bg-collection .t-collection--info .t-collection--info-description-text.tainacan-interface-truncate.full-story .toggle::before {
content: "[ ' . __( 'Show less', 'tainacan-interface' ) . ' ]";
}
nav.menu-belowheader #menubelowHeader ul.dropdown-menu {
@ -31,7 +31,7 @@ $taxonomy = get_taxonomy( $term->taxonomy );
</h2>
<?php $tainacan_term_description = tainacan_get_the_term_description(); ?>
<?php if ( ! empty( $tainacan_term_description ) || has_action( 'tainacan-interface-taxonoy-description' ) ) : ?>
<div class="text-white t-collection--info-description-text dotmore">
<div class="text-white t-collection--info-description-text tainacan-interface-truncate">
<?php
echo $tainacan_term_description;
?>