Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey there,

    Try this CSS to get started with:

    @media all and (min-width: 43.75em) {
    
      .sidebar-primary {
        width: 36%;
      }
    }

    You can copy & paste the code above into the “Additional CSS” section in the Customizer (Appearance > Customize), and it will take effect right away.

    That will made the sidebar wider without affecting the overall layout, but it is possible to increase it further if needed.

    Thread Starter mr11250

    (@mr11250)

    Thank you, Ben. That works great! What do I need to add to change the content so the total is still 100%?

    Theme Author Ben Sibley

    (@bensibley)

    Sure thing!

    That code is expanding the sidebar into some of the space that is usually between the content and sidebar. Normally, it is 60/32 with 8% left between, and now it is 60/36 with 4% left in between.

    Thread Starter mr11250

    (@mr11250)

    I actually wanted to make the sidebar a little narrower, so is there a way to make the main content area wider and keep the 8% gap?

    Theme Author Ben Sibley

    (@bensibley)

    Oh I see. Please use this snippet instead then:

    @media all and (min-width: 43.75em) {
    
      .sidebar-primary {
        width: 28%;
      }
      .main {
        width: 64%;
      }
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing the Sidebar Width’ is closed to new replies.