• Resolved tohedul

    (@tohedul)


    Hi, Whole post title is not showing. It only showing few word of post title. How can I show full title. And I want to use a logo/image as a post separator. How can I do that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sayan Datta

    (@infosatech)

    Hello,

    You can do both using this plugin. Please add this snippet to the end of your theme’s functions.php file:

    function spt_post_title_padding() {
        // number of charecters.
        return 300;
    }
    add_filter( 'spt_post_title_length', 'spt_post_title_padding' );

    And to display Image/logo as seperator please add this CSS to the CSS filed in plugins settings (https://prnt.sc/s78vr9):

    div.spt-container span.spt-item:before {
        background: url(https://yourimageurl) no-repeat;
        content: "";
        padding-right: 40px;
        vertical-align: middle;
    }
    div.spt-container span.spt-item:first-child:before {
        background : none;
        content: "";
        padding-right: 0;
    }

    Hope it helps. Thanks!

    • This reply was modified 4 years, 7 months ago by Sayan Datta.
    Thread Starter tohedul

    (@tohedul)

    Font limit thing working but image as separator not working

    • This reply was modified 4 years, 7 months ago by tohedul.
    Plugin Author Sayan Datta

    (@infosatech)

    Could you please paste here the link where you are using posts ticker?

    Thread Starter tohedul

    (@tohedul)

    Plugin Author Sayan Datta

    (@infosatech)

    Hello, You need to specify the image size. Use this CSS:

    div.spt-container span.spt-item:before {
        background: url(https://lalsobujerkontho.com/wp-content/uploads/2019/06/ls-favicon.png) no-repeat;
        content: "";
        padding-right: 40px;
        vertical-align: middle;
        background-size: 28px 19px;
    }
    Thread Starter tohedul

    (@tohedul)

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Whole post title show and logo as a post separator’ is closed to new replies.