Reply To: I want to reduce width and row height.

Home Forums WordPress Themes – Premium Flat Responsive I want to reduce width and row height. Reply To: I want to reduce width and row height.

#16328
Shekhar Bhandari
Participant

Hi Manjim,

To change the width of the left sidebar in left sidebar blog you should edit the index.php, the edited version of the index.php is attached below with smaller sidebar.

and for another query, we don’t understand about the problem fully, so could you please explain more and it will be better if you provide the link of the site.





<?php $blogstyle = get_theme_mod( 'blog_style', 'blogright' ); switch ($blogstyle) { // Right Column case "blogright" : echo '
'; // get all the posts if ( have_posts() ) : while ( have_posts() ) : the_post(); // get the article layout get_template_part( 'content', get_post_format() ); endwhile; // get the pagination flat_responsive_paging_nav(); else : // if no posts get_template_part( 'content', 'none' ); endif; echo '
'; break; // Left Column case "blogleft" : echo '
'; echo '
'; if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( 'content', get_post_format() ); endwhile; flat_responsive_paging_nav(); else : get_template_part( 'content', 'none' ); endif; echo '
'; break; // Left and Right Column case "blogleftright" : echo '
'; echo '
'; if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( 'content', get_post_format() ); endwhile; flat_responsive_paging_nav(); else : get_template_part( 'content', 'none' ); endif; echo '
'; break; // Wide Column case "blogwide" : echo '
'; if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( 'content', get_post_format() ); endwhile; flat_responsive_paging_nav(); else : get_template_part( 'content', 'none' ); endif; echo '
'; break; } ?>

Thanks