Thanks for your post,
Custom read more text only available in “Read More” item on layout editor,
View post on imgur.com
You can use display:inline-block; for both excerpt to make in same line.
Regards
Thread Starter
John
(@dsl225)
Many thanks for this but it doesn’t seem to work for me.
If I use “display:inline-block;” in both excerpt+read more I still get […] on a new line centered + bottom border, and if I use it only in excerpt I get also a new line and bottom border, simply aligned left as it should.
I used this for excerpt:
font-size:14px;display:inline-block;padding: 10px 0px 10px 0px;text-align:left;
and this for read more:
font-size:14px;display:block;padding: 10px 0px 10px 0px;text-align:left;
and this is what I get.
If possible, I would like to have the 3 dots attached to the end of the excerpt + to remove the bottom border (which does not show up when I use “excerpt with read more”.
Hope I’m not asking too much…
Can you please try with filter hook, please use “Excerpt with Read more” on layout editor
function post_grid_filter_grid_item_read_more_custom_text($read_more){
return '[...]';
}
add_filter('post_grid_filter_grid_item_read_more','post_grid_filter_grid_item_read_more_custom_text');
Please use following code to your theme functions.php file.
Let me know the result.
Regards
Thread Starter
John
(@dsl225)
Awesome!
That works really fine.
Many thanks for your kind assistance!
Glad to hear that,
if you like the plugin and our support please submit us five star reviews on plugin page
https://ww.wp.xz.cn/support/plugin/post-grid/reviews/
Regards