Justify text in the home page slider

Viewing 3 posts - 1 through 3 (of 3 total)
  • #15818
    gianvimake
    Participant

    Hi everyone, first question: is it possible to justify the text in the image slider on the homepage (see for example my website http://www.pugliò.it)?
    Another question: I am using soliloquy slider plugin lite, I am able to create and insert image slider in my pages and articles but only 4 images are shown instead of all the images I have uploaded in the slider.

    can anyone help me?

    thank you very much

    #15820
    Daniel Tara
    Keymaster

    To justify align the text in the slides you need to add this to style.css:

    .entry-summary {
    	text-align: justify;
    }

    About the slider plugin displaying only 4 posts, it may be due to a bug in the function minimatica_paged_posts(), try to rewrite it like this:

    function minimatica_paged_posts( $query ) {
    	global $wp_the_query;
    	if( (
    		( $query->is_home() && 'gallery' == minimatica_get_option( 'homepage_view' ) ) ||
    		( $query->is_category() && 'gallery' == minimatica_get_option( 'category_view' ) ) ||
    		( $query->is_tag() && 'gallery' == minimatica_get_option( 'tag_view' ) ) ||
    		( $query->is_author() && 'gallery' == minimatica_get_option( 'author_view' ) ) ||
    		( $query->is_archive() && 'gallery' == minimatica_get_option( 'archive_view' ) )
    		) && ( $query === $wp_the_query )
    	)
    		$query->set( 'posts_per_page', '4' );
    }
    #15822
    gianvimake
    Participant

    Thank you very much, both your responses worked perfectly!!! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.