Blog full width

Discussion in 'Themia WordPress Theme' started by socialmediagrrl, Nov 1, 2013.

  1. socialmediagrrl

    socialmediagrrl New Member

    Joined:
    May 2, 2013
    Messages:
    8
    Likes Received:
    0
    Location:
    USA
    Hi guys,

    How do I make the blog full width?

    I've set the blog page to "no parent" "full width". That doesn't do the trick.

    As a plan B (so, different problem) I wanted to add widgets to the blog page. I don't seem to get anything else than a search box on the side. I added widgets to the primary and secondary widget areas, but they don't show up.

    So: How do I make the blog full width?
    Or: How do I add widgets to the blog page?
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    For making blog fullwidth

    Go to blog.php present in your theme directory and follow the instruction as shown in image given below

    2013-11-02_1241.png
    2013-11-02_1241_001.png


    or

    For adding widget in the sidebar

    Go to the
    Appearance > Widgets
    Drag widgets and drop them in the Primary and Secondarywidget area, It will automatically display at your sidebar.
     
  3. socialmediagrrl

    socialmediagrrl New Member

    Joined:
    May 2, 2013
    Messages:
    8
    Likes Received:
    0
    Location:
    USA
    Well.... I must have a very stubborn version of Themia... I deleted the code, no such luck... Still showing the search box on the right.

    And I do know where to put widgets. I drag and drop myself colorblind, to NO effect. I put the world on widgets in those boxes, they are just NOT showing up.
     
  4. socialmediagrrl

    socialmediagrrl New Member

    Joined:
    May 2, 2013
    Messages:
    8
    Likes Received:
    0
    Location:
    USA
    Let me be more specific: The blog page is set to no parent, blog page template. No featured image. Status is published.
    None of the posts are made sticky.
    The code for the blog.php:
    ----------------------------------
    <?php
    /*
    Template Name: Blog Page
    */
    ?>
    <?php get_header(); ?>
    <!--Start Contetn wrapper-->
    <div class="grid_24 content_wrapper">
    <!--Start side content-->
    <div class="side_content">
    <?php
    $limit = get_option('posts_per_page');
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts('showposts=' . $limit . '&paged=' . $paged);
    $wp_query->is_archive = true; $wp_query->is_home = false;
    ?>

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <!--Start Post-->
    <div class="post" id="post-<?php the_ID(); ?>">
    <h1 class="post_title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
    <ul class="post_info">
    <li class="postedon">Posted on
    <?php the_time('jS F Y') ?>
    </li>
    <li class="postedin">in
    <?php the_category(', '); ?>
    </li>
    <li class="postedby">by
    <?php the_author_posts_link(); ?>
    </li>
    </ul>
    <hr/>
    <?php if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) { ?>
    <?php inkthemes_get_thumbnail(518, 280); ?>
    <?php } else { ?>
    <?php inkthemes_get_image(518, 280); ?>
    <?php
    }
    ?>
    <?php the_excerpt(); ?>
    <a href="<?php the_permalink(); ?>" class="continue">Continue reading...</a> </div>
    <!--End Post-->
    <div class="shadow"> </div>
    <!--End Post-->
    <?php endwhile; else: ?>
    <div class="post">
    <p>
    <?php _e('Sorry, no posts matched your criteria.', 'themia'); ?>
    </p>
    </div>
    <?php endif; ?>

    <div class='wp-pagenavi'>
    <?php pagination(); ?>
    </div>
    </div>
    <!--End side content-->
    </div>
    <!--End Content wrapper-->
    <div class="clear"></div>
    </div>
    <?php get_footer(); ?>
    ----------------------------------

    At this point I can make widgets appear if I don't choose use the "visibility" option.
     
  5. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Do let us know your website link.
     

Share This Page