WordPress.org

Ready to get started?Download WordPress

Forums

Moving the widget area from Footer to Sidebar (Chunk Theme) (5 posts)

  1. carra23
    Member
    Posted 10 months ago #

    Hey guys,

    I was wondering whether you could help me out.

    Here is my blog;
    http://www.justanotherfootballblog.com

    I'm looking to move the widget area from the footer of the page to the right-side of the page. Would this be possible with some simple CSS/HTML changes?

    I did a bit of research into the matter and found this thread;
    http://en.forums.wordpress.com/topic/create-a-sidebar-for-chunk-theme

    While the thread does offer some CSS changes, when I applied them to my blog the end result looked a little distorted.

    Can anyone help me out?

    Cheers!

  2. lettergrade
    Member
    Posted 10 months ago #

    It could probably be done, but not the ideal approach. Much more reliable to add a real, second sidebar.

    a) Create a child theme, so that your changes are maintained even when the theme is updated.

    b) Add a sidebar area to your child theme by creating a functions.php file in your child theme and registering a new sidebar. (Like style.css files, child theme functions.php files do not overwrite the parent theme's functions, they add to them.)

    c) Add the sidebar to the necessary template files (index.php, single.php, etc) in your child theme.

    d) Style the sidebar display with css and you're done!

    I found this simple tutorial for you that should help: http://themify.me/docs/second-sidebar

  3. carra23
    Member
    Posted 10 months ago #

    Hey, thanks for the response mate.

    That seems like a fair bit to go through! I don't suppose there's any other way of going about it?

  4. lettergrade
    Member
    Posted 10 months ago #

    I swear it's less work than it seems. :) And it will be much more reliable across different browser types. But if someone wants to chime in with a rock solid css solution, I'd hear that, too. You would still need to create a child theme or use a custom css plugin, though.

  5. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    FWIW, I doubt there's a very good CSS solution - that's likely only used on the .COM forum thread because that's the only option there for modifying themes - as users cannot modify any other files.

Reply

You must log in to post.

About this Topic