WordPress.org

Forums

Oxygen
[resolved] oxygen theme help to remove the right sidebar (5 posts)

  1. arifin16
    Member
    Posted 2 years ago #

    Hii Team,

    what is the best way to have a two column layout, i want to keep the top menu, left side bar , and the rest area for content, i want to get rid of the right side bar/widget area for oxygen theme plz

    regards with thanks

  2. arifin16
    Member
    Posted 2 years ago #

    http://inclusiontec.org/lido/ this is the site i am working on

  3. stxmarketing
    Member
    Posted 2 years ago #

    First, create a child theme. Search codex.wordpress.org for how to do that.

    The sidebar on the right is the "Secondary" sidebar in the Oxygen Theme.

    If you view the source code on a page with items in that widget location, you'll see that they are placed inside a div tag that looks like this:

    <div id="sidebar-secondary" class="sidebar">

    So, you'll edit the Child Theme style.css, or use the "Custom CSS" Jetpack plugin, and set this id to not display at all:

    #side-bar-secondary {
      display: none;
    }

    That just collapses the space used to nothing. The second part of the puzzle is to get your content to USE that extra space.

    You can do that within the style.css as well:

    .featured-wrapper {
    	width: 100%;
    }
    
    .content-wrap {
    	width: 100%;
    }
  4. arifin16
    Member
    Posted 2 years ago #

    nice, it worked, thanks alot man ;))

  5. stxmarketing
    Member
    Posted 2 years ago #

    You're welcome, and thanks for marking the thread "resolved".

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic