How to move left sidebar towards right?

Discussion in 'WordPress' started by Jalpari, Apr 5, 2009.

  1. #1
    How i can move right hand sidebar towards left hand in wordpress theme?
     
    Jalpari, Apr 5, 2009 IP
  2. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Do you mean that you want both sidebars on the same side (left), or you just want to adjust the setting of the sidebar so it is moved over to the left a little more?
     
    hmansfield, Apr 5, 2009 IP
  3. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #3
    It simple mean if left sidebar does not exist and i want to move right bar (already exist) to left side :D then how to do
     
    Jalpari, Apr 5, 2009 IP
  4. Big0ne

    Big0ne Well-Known Member

    Messages:
    2,615
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    165
    #4
    Customize css, what else could you do? :)
     
    Big0ne, Apr 5, 2009 IP
  5. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #5
    does not work
     
    Jalpari, Apr 5, 2009 IP
  6. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #6
    CSS will only adjust dimensions, and colors. If you want to move the entire sidebar you need to edit the function of the way the blog is set up (index.php), which could break the blog if you don't know what you are doing, and even if you do, there is no guarantee that it will work on your theme.

    The first suggestion would be to just put everything from the right sidebar in the left sidebar, but i have to assume they are different sizes or you would have done that already....

    ....so you could adjust the dimensions...make the right sidebar the size of what the left sidebar is now , and make the left sidebar the the size of what the right sidebar is now.(and switch the content). That will keep the dimension of your blog the same, and give your sidebars the opposite functionality of what they have now,

    This is of course assuming that your side bars start, and end at the same symmetrical points, and are positioned directly opposite of each other, and both have widgets and don't have any other functions coded into the sidebars.
    .
    You do that through your CSS file.


    So IOW if Left sidebar is 160 px wide, and right sidebar is 300px wide.....make the left sidebar 300px wide, and the right sidebar 160px wide..

    That's what I would try first, since it seems to be the easiest way, but make sure you have the original files handy in case the theme won't handle those changes and you get a error message.

    This is hard to say without seeing the blog, since all themes are different, and not knowing what else is coded into the sidebars like subscription functions, ad boxes, popular article plug ins and so one.

    ...or I would switch the file names Change right sidebar.php renamed to left sidebar.php, and left sidebar.php, renamed to right sidebar.php.
     
    hmansfield, Apr 5, 2009 IP
  7. danzell

    danzell Active Member

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #7
    or maybe switch your theme completely. :)
     
    danzell, Apr 7, 2009 IP
  8. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #8
    Yeah, that really what I would do..I do a lot of theme hacking, just about every one I get, and even I don't mess around with completely changing the sidebar locations, I'll just get another theme.
    Too much can go wrong if you are not versed in PHP, and if you are , you can build one that does what you want.
     
    hmansfield, Apr 7, 2009 IP
  9. Eviant

    Eviant Peon

    Messages:
    258
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Better change your theme... that is better idea
     
    Eviant, Apr 7, 2009 IP