Oxygen theme: how to remove Secondary Sidebar in order to use that space

  • Author
    Posts
  • #2376891

    I wish to remove Secondary Sidebar in ALL of my posts/pages in order to use that space.

    The blog I need help with is paulshaperproductions.com.

    #2377060

    musicdoc1
    Member

    From the Oxygen theme guide,

    …the Secondary Sidebar displays search, links, and meta by default if no widgets are configured in Appearance → Widgets.

    Adding another widget, or multiple widgets, results in the removal of the default widgets. An empty text widget will leave the area empty.

    #2377061

    timethief
    Member

    @musicdoc1

    in order to use that space.

    Removing a sidebar or placing an empty text widget at the top of the sidebar will not allow the blogger to blog in that space.
    Please see here https://en.forums.wordpress.com/topic/how-do-i-remove-a-sidebar-from-my-pages?replies=3#post-2375665

    #2377062

    musicdoc1
    Member

    @ timethief,

    Removing a sidebar or placing an empty text widget at the top of the sidebar will not allow the blogger to blog in that space.

    Of course I know that. The member didn’t specify how they wanted to use the space. I presumed the intention was to place other widgets there.

    #2377063

    musicdoc1
    Member

    I just mentioned the empty text widget as a means of leaving the space vacant as an option.

    #2377064

    musicdoc1
    Member

    …while deciding which widgets to insert there.

    #2377065

    timethief
    Member

    @musicdoc1
    Okay then. I’m moving on.

    @orientaltextiles
    Please be patient while waiting for a Volunteer who helps with CSS editing or Staff respond here to help you.

    #2377073

    Hi @orientaltextiles, I’m assuming you are wishing to remove the right sidebar and recover that space for post/page content. I’ve included the last two rules to adjust the width on some other elements so that they align on the right. Give the following a try and see what you think.

    #tertiary {
        display: none;
    }
    .page-template-showcase-php #content, #content {
        margin-right: 0;
    }
    .comments-title, #comments #reply-title {
        width: 100%;
    }
    .section-title h1 {
        width: 96%;
    }

    #2377074

    musicdoc1
    Member

    Thanks, timethief and sacredpath,

    I obviously misread the OP. The intention to use the space for something other than widgets is rather clear.

    #2377091

    @musicdoc1, no worries, and many thanks for the help in the forums. :)

    #2377102

    @thesacredpath, thanks! it answers my question :)
    Later on, in case I wish to put the Secondary Sidebar back on to SOME of my posts/pages, is it feasible?

    @musicdoc1, @timethief, thanks for the help and encouragement :)

    #2377105

    Yes, we can reverse that change on a page-by-page basis by using the page id CSS body class, so if you decide you wish to do that, just let us know.

    #2377112

    Yes, I wish to do that for this page:
    http://paulshaperproductions.com/postcards-2/

    Please show me know.

    #2377116

    kathrynwp
    Staff

    Let me know if this does the trick:

    .page-id-1254 #tertiary {
        display: inherit;
    }
    .page-id-1254 #content {
        margin-right: 29.7872%;
    }
    .page-id-1254 .comments-title, .page-id-1254 #comments #reply-title {
        width: auto;
    }
    .page-id-1254 .section-title h1 {
        width: auto;
    }

The topic ‘Oxygen theme: how to remove Secondary Sidebar in order to use that space’ is closed to new replies.