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

  1. Jo3yN
    Posted 2 years ago #


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


    Site URL:

    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?


  2. paulwpxp
    Font hero
    Posted 2 years 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
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Topic