Home Forums ASE Support Chapter Minimum Height Reply To: Chapter Minimum Height


Cosmin Bumbutz



I just tried the fix above and I’m afraid it doesn’t work.
Neither the function, not the CSS.

We are using Novella, and I have added:

function example_callback( $args ) {
	if ($args['minheight'] == '260px') {
		// if set to default, change the default value
        $args['minheight'] = '60px';
    return $args;
add_filter( 'aesop_chapter_defaults', 'example_callback' ); 

to our functions.php inside Novella.

The result:
Parse error: syntax error, unexpected ‘add_filter’ (T_STRING), expecting function (T_FUNCTION) in /themes/novella/functions.php on line 65

I said OK, I will add the min-height to each chapter as we need to publish an article soon. Setting the min-height to 60px does not work, so I overrode the CSS as indicated by you:

.aesop-article-chapter .aesop-cover-title {

No luck, the 60px min height is still ignored, even when set on the chapter component.
I ended up adding

.aesop-article-chapter {
    height: 60px !important;
  	min-height: 60px !important;

as we really need this fixed. Currently, the height is set to 736px??? Why?

Can we get around this? Thanks.