• Resolved cldunsmore

    (@cldunsmore)


    I know this has been asked a bunch, but I cannot find any of the code previously mentioned in any of the support threads. I installed a new theme on my site (https://wwww.aswestumblealong.com) and want to move my sidebar from the right to the left. I’ve looked through all the code and messed around a great deal, nothing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • CrouchingBruin

    (@crouchingbruin)

    Install a CSS plugin like Custom CSS Manager and add these rules:

    @media only screen and (min-width: 960px) {
       #content {
          display: -webkit-flex;
          display: flex;
          -webkit-flex-direction: row;
          flex-direction: row;
    
          -webkit-justify-content: flex-start;
          justify-content: flex-start;
       }
    
       #main {
          order: 2;
       }
    }

    One thing you should not be doing is making changes to the theme files directly. If you ever have to update the theme because of feature enhancements, bug fixes, or security patches, or if the theme has to be updated because of a change to the WordPress core, then your changes will be lost. Instead, use a plugin as I mentioned ealier, or create a child theme if you also need to make changes to any PHP files.

    CrouchingBruin

    (@crouchingbruin)

    Oh, I forgot to add that if your theme has a Custom CSS option, that would be OK to use as well. Just don’t make changes to the CSS files (or any files) through Appearance → Editor.

    Thread Starter cldunsmore

    (@cldunsmore)

    That did it, thanks so much! And I never thought about how editing the theme would cause problems later on, thanks for letting me know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving Sidebar from Right to Left?’ is closed to new replies.