• I have just gotten started with Heatmap-theme, and already I have removed default widgets by using folowing code in function.php–>

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    function unregister_default_widgets() {
         unregister_widget('WP_Widget_Pages');
         unregister_widget('WP_Widget_Calendar');
         unregister_widget('WP_Widget_Archives');
         unregister_widget('WP_Widget_Links');
         unregister_widget('WP_Widget_Meta');
         unregister_widget('WP_Widget_Search');
         unregister_widget('WP_Widget_Text');
         unregister_widget('WP_Widget_Categories');
         unregister_widget('WP_Widget_Recent_Posts');
         unregister_widget('WP_Widget_Recent_Comments');
         unregister_widget('WP_Widget_RSS');
         unregister_widget('WP_Widget_Tag_Cloud');
         unregister_widget('WP_Nav_Menu_Widget');
         unregister_widget('Twenty_Eleven_Ephemera_Widget');
     }
     add_action('widgets_init', 'unregister_default_widgets', 11);

    now default widgets have disappeared, thats ok, but white space is still there ,how to free up that space so that a post uses the whole width?

    [ Please do not bump, that’s not permitted here. ]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter q1221q

    (@q1221q)

    ok the link is:- https://www.frontlineplusfordogs89132lbs.us , right side widget area needs to be removed.

    as long as the sidebar code (although empty) is still in the templates, trying to stretch the content are does not make much sense.

    start by removing <?php get_sidebar(); ?> from all templates.

    then edit style.css and change the width of #content to 960px;

    there are some more minor styles you will need to adapt;
    either use Firebug to find them, or scroll through style.css to find and change styles with widths in the range of 600px or so…

    Thread Starter q1221q

    (@q1221q)

    alchymyth, thanks a lot!!!!!!!!!!!!! its done. Ur explanation was to the point and exactly right1
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Free up right-side widget Area’ is closed to new replies.