Tagged: dots, ellipses, featured text, featured-title, slider
- This topic has 1 reply, 2 voices, and was last updated 6 years, 5 months ago by Theme Horse Support Team.
-
AuthorPosts
-
November 15, 2017 at 2:14 am #54057embrunaParticipant
I have used the “exerpt options” and the CSS code below to remove the introductory text from the featured posts on the slider and the “recent work” widget and modify the background around the title. However, I can’t figure out how to
1) remove the ellipses (“…”) after the title, or
2) reduce the space between the title and the “Read More” button on the slider.Any suggestions?
.featured-text .featured-title {
font: 34 px Lato;
font-weight: 200;
padding-bottom: 10px;
padding-top: 10px;
padding-left: 10px;
padding-right: 5px;
background: rgba(135, 130, 130, 0.65);
}November 15, 2017 at 6:03 am #54059Theme Horse Support TeamKeymasterHi embruna,
To remove the three … line from slider please add below custom css
.featured-text .featured-content { display: none; }
To remove the three … lines from recent work it needs a bit of code customization. Go to theme folder > inc -> widgets -> ambition-widgets.php on line no 763 to 770 you will find below code
<?php $excerpt = get_the_excerpt(); if(strlen($excerpt) >130){ $excerpt_length = substr($excerpt, 0 , 130); echo $excerpt_length . '...'; } else{ echo $excerpt; }?><code>replace it with</code><?php the_excerpt(); ?>
The same customization is code should be made again while updating to new version because if you customize the code in the theme then while updating to new version all your customized code will be lost. So better make a child theme and make exactly same copy of parent theme widgets and customize the code to be safe from data/ customized code loss while updating to new version.
Also to modify the background title image go to dashboard -> appearance -> customize -> ambition theme options -> page title background image.
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.