StyledThemes

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16327
    ManJin Kim
    Member

    Hi.
    I selected Blog with Left Sidebar of Blog Layout but width of left sidebar is very big.
    And row height of left sidebar is very big.
    So I want to reduce width and row height.
    When I selected category in left sidebar, I can see post list.
    When I selected a post in post list, left sidebar disappear and post content is aligned left.
    And right blank sidebar area appear.
    I don’t know factor.
    I want to remove right sidebar area.

    1. When I selected a category.

    2. When I selected a post.

    when-I-selected-page.jpg
    when-I-selected-category.jpg
    when-I-selected-a-post.jpg

    Attachments:
    You must be logged in to view attached files.
    #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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.