Skip to:
Content
Pages
Categories
Search
Top
Bottom

Easy Fixed Width Theme


  • rocket442
    Participant

    @rocket442

    I just did this and tested it out. I’ll be creating some BuddyPress Themes in the next few weeks, but for anyone who wants a fixed width (instead of fluid) version of the default BP theme heres a easy way to do so that takes less than 5 minutes.

    Create a Child Theme like so

    1.) copy the bp_default theme and name it whatever you’d like (ex. ‘fixedwidth_default’)

    2.) edit the ‘fixedwidth_default/style.css’ folder by erasing the/* and */ on line 27 (this deletes the comment-out function, so you can add custom css to the new child theme).

    3.) create a custom.css file using a text editor and add this in:

    #header {

    width: 960px;

    margin: 0px auto 0px;

    }

    #container {

    width: 940px;

    padding: 10px;

    margin: 0px auto 0px;

    }

    4.) Save this, and upload your new theme to ‘wp-content/themes’ and then activate it in the site admin, then select it in your appearance>themes area. This should create a fixed-width version of the default theme.

    I know this might be not hard for some to do, but I figured it might help some people out who were wondering.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Easy Fixed Width Theme’ is closed to new replies.
Skip to toolbar