Home Forums Trusted Changing the Width of the Sidebar

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2092
    pqsys
    Participant

    Hello,

     

    I would like to change the width of the sidebar and main content area. I want to decrease the with of the sidebar and increase the relative size of the main content area. How can this be done?

    #2094
    Yazmin
    Keymaster

    Hello

    Add this in Appearance > Customize > Additional CSS

    @media screen and (min-width: 768px){
        #primary{
            width: 66%;
        }
        #secondary{
            width: 31%;
        }
    }

    change 66% and 31% to the widths you need.

    you will notice that 66 + 31 = 97. This allows a 3% spacing between the main content and the sidebar.

    #2096
    pqsys
    Participant

    Thank you. It worked! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing the Width of the Sidebar’ is closed to new replies.