Flip WordPress Theme (3 posts)

  1. dusketh
    Posted 9 years ago #

    Can someone please help me with flipping my WordPress Theme (DarkNight 2.0) so the side bar is on the left.

    I would really appreciate it.


  2. Two changes you need to make to your style.css to do this:

    1. First, somehow, your style.css file got duplicated a couple dozen times into the CSS file. I have no idea how you did this, but your CSS file is now 13000+ lines long. This is huge, and bad.

    So you need to scroll down until you see the /* Theme name: start again around line 524, and then delete that and *everything* after it. Keep a backup copy of the file, of course.

    2. Now that you have the file down to a lean 520 lines or so, make sure that it works the same in your site. If not, you messed up. Try again. Then, find the #menu and #content bits. They'll look like this:

    #menu {
    #content {

    Change the right to left and the left to right and voila, you've swapped their positions.

  3. dusketh
    Posted 9 years ago #

    omg whats up the with stylsheet duplication, deleted that, will try your flip suggestion now.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.