This is another feature that can be configured via a filter
add_filter( 'rcno_book_description_word_count', function ( $word_count ) {
return 1000; // word count
}, 11 );
I get several errors when I paste this into the custom css
@ferventsplender
That code is PHP it is supposed to be added to the end of your theme’s functions.php file.
Thread Starter
uroosa
(@uroosa)
Ok so this is more of a css question…..now that i am able to get a greater length for the synopsis, I would like it to be scrollable but the heigth to match the height of the book image. How would I do that? Here is a link to show you what I am talking about – https://www.mindfulmuslimreader.com/staging/5788/book/planting-the-trees-of-kenya-the-story-of-wangari-maathai/
You could set the height on the .rcno-full-book-description div to 27rem
Thread Starter
uroosa
(@uroosa)
Wow…thank you! That took care of it so beautifully!
Thread Starter
uroosa
(@uroosa)
Is it possible to have it be dynamically aligned to the height of the book images? The book images height is not consistently the same height.
I can’t think of any CSS property or feature that would allow for this.
This is what worked for me:
Modified my themes functions.php by adding this to the end:
/* ADD FOR BOOK REVIEWS */
add_filter( 'rcno_book_description_word_count', function ( $word_count ) {
return 1000; // word count
}, 11 );
Added the following to the Rencencio custom CSS.
.rcno-full-book-description {
height: auto;
}
You can see it here: https://bestfx.com/review/the-guns-of-august/
I haven’t figured out how to get the image to ‘float’ left so the text wraps.
-
This reply was modified 4 years, 3 months ago by
Wayne.