WordPress.org

Ready to get started?Download WordPress

Forums

Oxygen
[closed] Posts without right sidebar (9 posts)

  1. actionmatt
    Member
    Posted 1 year ago #

    The Oxygen theme is great but the posts view with sidebars on left and right makes it too busy. Does anyone know of a way to remove the right sidebar in posts and for posts to run the full width, but not the homepage?

  2. Cristobal
    Member
    Posted 1 year ago #

    Hello!!:..I have teh same problem...any solution?...

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @cristobal paez

    please start your own topic (scroll down on this link http://wordpress.org/support/theme/oxygen ) and ideally add a link to your site.

  4. actionmatt
    Member
    Posted 1 year ago #

    thanks alchymyth, but what is the point of starting another topic if this one is getting any answers?

    Are there any suggestions for answering this topic?

  5. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You could always try asking on http://www.organicthemes.com/support

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    the point of starting a new topic is that hardly any two topics are the same.
    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

    Are there any suggestions for answering this topic?

    possibly consider to post a link to your site to illustrate where you have too many sidebars.

    just be aware that links will not get deleted any time later, if you don't like your site to appear in search engines: http://codex.wordpress.org/Forum_Welcome#Deleting_.2F_Editing_Posts

  7. aprilword
    Member
    Posted 1 year ago #

    i was told that the sidebars can not be removed from the posts and home page separately - they are connected

    also, I can not get the post content to fill the page - would like some help with that if possible..

    earthouse.org

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @aprilword - looks like your site is on WordPress.COM?? If so, you'll need to post on their forums: http://en.forums.wordpress.com/

    These forums are for self-hosted WordPress.ORG sites -- not the same thing, but a common confusion.

  9. shinkai
    Member
    Posted 1 year ago #

    actionmatt,
    i made what you want this way:
    1) In the theme folder open file functions.php and make some changes:
    instead:

    function oxygen_disable_sidebars( $sidebars_widgets ) {
    
    	global $wp_query;
    
    	    if ( is_page_template( 'page-template-fullwidth.php' ) ) {
    		    $sidebars_widgets['primary'] = false;
    			$sidebars_widgets['secondary'] = false;
    	    }
    
    	return $sidebars_widgets;
    }
    
    function oxygen_embed_defaults( $args ) {
    
    	$args['width'] = 470;
    
    	if ( is_page_template( 'page-template-fullwidth.php' ) )
    		$args['width'] = 940;
    
    	return $args;
    
    <strong>write this:</strong>
    function oxygen_disable_sidebars( $sidebars_widgets ) {
    
    	global $wp_query;
    
    	    if ( is_single() ) {
    			$sidebars_widgets['secondary'] = false;
    	    }
    		if ( is_page_template( 'page-template-fullwidth.php' ) ) {
    		    $sidebars_widgets['primary'] = false;
    			$sidebars_widgets['secondary'] = false;
    	    }
    
    	return $sidebars_widgets;
    }
    
    function oxygen_embed_defaults( $args ) {
    
    	$args['width'] = 470;
    
    	if ( is_single() )
    		$args['width'] = 940;
    	if ( is_page_template( 'page-template-fullwidth.php' ) )
    		$args['width'] = 940;
    	return $args;
    }

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still - use a pastebin. As it stands, your posted code may now have been permanently damaged/corrupted by the forum's parser.]

    2) Open style.css and add this selector:

    #content22 {
    float: left;
    width: 100%; /* 470 / 750 = 0.6266666666666667 */
    margin: 0 0 30px 0;
    }

    3) Open post.php
    Find <div id="content">
    And write instead <div id="content22">

    Thats all. This remove in post page Secondary Sidebar and full its with content.
    You may need to disable posting theme img thumbnail in the post, because it not very nice with this change.
    How to do it you may find in this forum.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.