badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Remove "…" (three dots) after featured title on slider and

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54057
    embruna
    Participant

    http://brunalab.org/

    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);
    }

    #54059

    Hi 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!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.