Home › Forums › Gillion Theme › Change post description length
Home › Forums › Gillion Theme › Change post description length
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
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
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; }
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
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.”?
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 );