WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Theme: Twenty Thirteen] Incorrect sidebar positioning when viewing categories (3 posts)

  1. Jo3yN
    Member
    Posted 11 months ago #

    Hello,

    Love Twenty Thirteen, but I'm noticing the Secondary Widget Area (sidebar) does not position correctly when viewing categories.

    Screenshot:
    http://grab.by/ptwE

    Site URL:
    http://www.usualgeek.com/raspberry-pi/

    As you can see, the sidebar doesn't move down when the category heading appears. The posts move down correctly, but not the sidebar. I'm assuming this isn't intended behavior?

    Thanks,
    Joey

  2. paulwpxp
    Font hero
    Posted 11 months ago #

    The sidebar of Twentythirteen is absoluted position.

    This means it's taken out of document flow. Other elements on the page are not aware of its existence. The content area is having right side padding so that they don't get underneath sidebar area. The footer is aligned so that it won't get over.

    So, it's by design but with a defect.

    It's tempted to add in a fix for that few pixels off, but theme is responsive and the length of category descriptions are not always the same.

  3. Jo3yN
    Member
    Posted 11 months ago #

    I made a fix for this, which involves moving the sidebar into the main content area and containing both the post and sidebar elements inside a relatively positioned div. This way, the sidebar can remain absolutely positioned, but inside the container div, which follows the category archives header.

    I'll try to get this fix into the actual code if it's acceptable by the theme developers.

Reply

You must log in to post.

About this Topic