Support » Theme: Oxygen » Change front page body width

  • I can’t seem to change the width of the body in the home page of my site:

    I would love to eliminate the indentation or modify in some way the theme so that the primary and secondary post area is wider. I don’t care if this messes up the site readability for smartphones and tablets, 99% of my readers are reading my site on their computers and laptops. Is there any way to do this? I’ve modyfied the style.css file but I was only able to change the width of the footer widgets. Help? Is this even possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark


    Pretty much anything is possible. But for us to be of any help you need to provide more details on what you want precisely and on the modifications that you did try to make.

    Do you want to change the width on all pages? Homepage only? Single posts? With or without sidebar? You need to be this specific because style.css sets the width for all these elements and you can change all of these individually.

    I’d also like to change the width of the posts. In my case it’s for all the posts, how do I go about changing the width for them? I’d them to be about twice as wide. Whre do I change this?

    I want to keep the sidebar on the left side, and just change the width for pages (not posts). Thanks.


    The easiest way is to create a child theme, and make some css modifications there.

    More info how to create a child theme you can find here:

    In your particular case, your child theme’s css file should contain this:

     * Theme Name: Oxygen Child
     * Theme URI:
     * Description: NOTE: 0.5 is a major update. Please backup your theme before updating and read the changelog.txt file for details. Oxygen is a minimalistic, mobile-optimized magazine theme with responsive layout. The main features include a featured content slider, custom front page template, 5 widget areas, and 3 menus.
     * Version: 0.5
     * Author: AlienWP
     * Author URI:
     * Tags: flexible-width, theme-options, threaded-comments, microformats, translation-ready, rtl-language-support, three-columns, right-sidebar, left-sidebar, custom-background, featured-images
     * License: GNU General Public License v2.0
     * License URI:
     * Template: oxygen
     @import url("../oxygen/style.css");
     /* =Theme customization starts here
    -------------------------------------------------------------- */
    #content {
        float: left;
        margin: 0 0 30px;
        width: 80%;

    And of course don’t forget to activate the child theme.

    You can fine-tune the width percentage value based on your needs, the original value was around 62%. However, you should check the theme’s responsiveness after the modifications.

    I hope this helps, if you have any more questions, feel free to post them here.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change front page body width’ is closed to new replies.