WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: Oxygen] Remove Sidebar and Increase Post Width (4 posts)

  1. creativeunderground
    Member
    Posted 1 year ago #

    Hi there,

    I'm using the Oxygen theme for my website which is home to my final uni project.

    I'm keen to remove the secondary sidebar from blog posts and increase the post width as i'll be embedding photo slideshows and videos, but i'm not too sure on which template I should be looking at to do this - i'm still fairly new to CSS. I want to keep the secondary sidebar on the home page.

    I added some custom CSS after reading around on the forum, but this doesn't have appeared to have solved the issue as the sidebars still remain when previewing the post:

    #secondary {
    	display: none;
    }
    
    #content {
    	margin-left: 0;
    ]

    My website is http://www.creativeunderground.co.uk - however, there's a holding page there at the moment as the site isn't launching for another week or so.

    Thanks.

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

    Do not edit the theme itself. First create a child theme for your changes.

  3. Ricettedelcuore
    Member
    Posted 1 year ago #

    I created a child theme, and now i have a very similar problem.
    I would like to remove the secondary sidebar, and increase the post width.

    But, i would like to keep it on my home page.
    This is very important for me.

    I have looked into post.php, in order to start changing in in a single post, but i couldn't find where the secodary sidebar is! (I found only get_sidebar(primary))
    And i am not sure if this is the right way. As i suppose i should change also the search.php and maybe also other files.

    Please help!
    Chiara

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

    @Ricettedelcuore: It is impolite to interrupt another poster's ongoing thread with a question of your own. Please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic