WordPress.org

Ready to get started?Download WordPress

Forums

How to get 2 sidebars, and content box to center? (3 posts)

  1. Ed101
    Member
    Posted 1 year ago #

    Hello, I am designing a theme but I am trying to get 2 sidebars for the first time. Can someone please tell me how to get 2 sidebars one in left and the other in right? Currently I have one in right and the content is in center, but I had to put a padding of 240px to the left to center. Can someone please please tell me how? Check it out at http://ultimate-lovato.com/test/

  2. LastForOne
    Member
    Posted 1 year ago #

    declare another sidebar in function.php and call it before content give it width of 240px and then you can get rid of 240px padding on content, sidebar will automatically push content to center make sure you give some margins.

    LastForOne

  3. Ed101
    Member
    Posted 1 year ago #

    Can you tell me what I add exactly? I'm not very good with function.php infact I barely add stuff to it...

Topic Closed

This topic has been closed to new replies.

About this Topic