Skip to:
Content
Pages
Categories
Search
Top
Bottom

Basic Margin and Sidebar adjustment

  • Avatar of Smitch L
    Smitch L
    Participant

    @smitch-l

    I’m trying to make the content be more centered and make the sidebar wider toward he left so my widgets fit. ( Have no idea how to edit widget ) I have created a BP child theme and this is BP Default theme. Where can I find the code I need to copy and how can I make this change?

    http://manifestfuture.com/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @smitch-l this is a CSS only issue. In other words, you’ll just need to add the revised widths in your child theme’s style.css file. The elements below control the width of the sidebar and content area:

    div#content .padder {
    margin-right: 225px;
    }
    div#sidebar {
    margin-left: -226px;
    width: 224px;
    }

    If, for example, you want to increase sidebar area to 350px, you add the following to your child theme’s style.css file

    div#content .padder {
    margin-right: 351px !important;
    }
    div#sidebar {
    margin-left: -352px !important;
    width: 350px;
    }

    Avatar of discdemo
    discdemo
    Participant

    @discdemo

    Thanks, mercime. If the styles.css is pointed to functions.php, would this just be added there?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    If the styles.css is pointed to functions.php, would this just be added there?

    Not sure what you mean. You add the style changes in your child theme’s style.css file.

    Avatar of discdemo
    discdemo
    Participant

    @discdemo

    Thanks. So, there must be a child theme, just to confirm? The main theme doesn’t have any css in the styles.css. It points to function.php i think. Just want to clarify because even though in my limited understanding of child themes being created so code isn’t wiped away, I am still working with the main theme. Most css appears to be in the function or functions.php file. Do you see why I’m asking? I’m trying to find these settings just to adjust them.

    thanks as always, mercime! (btw, Have u heard of the band, “MercyMe?”)

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.