Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ThemeBoy

    (@themeboy)

    Hi there,

    Thanks for your question.

    The black spacing below the photo is due to the paragraph text being long. There are a couple different solutions for this.

    First, you could add the following to SportsPress > Settings > Custom CSS to increase the size of the post slider image:

    .widget_tb_post_slider .orbit-container .orbit-slides-container img {
    max-width: 20rem;
    width: 20rem;
    }

    Another solution is to change the excerpt length via a child theme. The excerpt length function is in includes/theme-functions.php:

    if ( !function_exists( 'tb_excerpt_length' ) ) {
    	function tb_excerpt_length( $length ) {
    		return 30;
    	}
    }

    Changing that number to 20 would make the excerpt shorter and prevent the box from being too tall.

    I hope this helps!

    Thread Starter ArtakEVN

    (@artakevn)

    Thank you! Fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Themeboy Post Slider widget in header’ is closed to new replies.