Change post description length

Home Forums Gillion Theme Change post description length

Home Forums Gillion Theme Change post description length

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • hife2017
    Participant

    Hi Shufflehound support,

     

    I’d like to change blog post description length, how can i achieve that?

     

    Thanks

     

    Attachments:
    You must be logged in to view attached files.

    Hi @hife2017,

     

    Thank you for your question.

     

    You can change it from theme blog settings as shown in the attached screenshot.

     

    Best regards,
    Shufflehound team

    Attachments:
    You must be logged in to view attached files.

    hife2017
    Participant

    Hi Shufflehound support,

     

    I’ve tried change to 80, but it still the same.

    Is it because I same the language for this site?

     

    Thanks

    Attachments:
    You must be logged in to view attached files.

    Could you please share me the page URL from your site where it is displaying so that i can help you to achieve it?

     

    Also please see the solution posted in the following topic.

     

    https://support.shufflehound.com/forums/topic/adjust-post-grid-size/#post-15496

    hife2017
    Participant

    Hi Shufflehound support,

     

    This is my sample site

    http://dronewithray.com/gillion-theme/home/home-2/

     

    Setting doesn’t work with Chinese language setting.

    Maybe I need to edit php code?

     

    Thanks

    Attachments:
    You must be logged in to view attached files.

    It is not working because you are using visual composer blog post content element.

     

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .sh-blog-standard-posts .post-content {
        max-height: 28px;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 80%;
        white-space: nowrap;
    }

    hife2017
    Participant

    Hi Shufflehound support,

     

    Seems like css code does not work.

     

    This site

    http://dronewithray.com/gillion-theme/blog-style/masonry-style/

     

    When I check html code, the content only display “Lorem ipsum dolor sit amet, co…”

     

    I wanna display more description, how can I achieve that?

     

    Thanks

    Attachments:
    You must be logged in to view attached files.

    Please make sure you have not added that text in the excerpt field of post.

     

    If this is not the case then would you mind if i log in to your site and do some troubleshooting? If this is ok then could you please share me your site log in details privately by adding them in the box having text “Click here to share private content. Only you and forum moderators will bee able see it.”?

     

     

    hife2017
    Participant

    Hi Shufflehound support,

     

    Thank you so much

    I logged in to your site and resolved this weird issue by adding following code on the colorlib custom plugin used on your site.

     

    function wpdocs_custom_excerpt_length( $length ) {
        return 200;
    }
    add_filter( 'excerpt_length', 'wpdocs_custom_excerpt_length', 999 );
Viewing 10 posts - 1 through 10 (of 10 total)