Forums

Sidebar won't appear in single post despite "get_sidebar" code (6 posts)

  1. kabruning
    Member
    Posted 1 year ago #

    I'm trying to get the sidebar to appear on a single post. I have the <?php get_sidebar(); ?> code in single.php right above the footer, but the sidebar still won't appear. Any ideas of what else I need to do? Alter sidebar.php somehow? I'd appreciate any help!

    Thanks!

    My theme:
    http://wordpress.org/extend/themes/yashfa

    My site:
    http://www.runkarlarun.com/

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Perhaps there's a conditional in sidebar.php that is stopping the sidebar from being displayed?

  3. alchymyth
    The Sweeper
    Posted 1 year ago #

    the sidebar is in the html code; something either from the css or maybe plugins keeps it from showing on the screen.

    or there could be something in the commments area code that disturbs the layout.
    have you edited comments.php?

    there are a lot of empty <small> </small> tags in the html code around the end of the comment form before the beginning of the sidebar.

    no solution, but some leads to check out.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    If I disable CSS, I can see the sidebar in the displayed pages - if that helps.

  5. kabruning
    Member
    Posted 1 year ago #

    Hmm, I don't see any conditional in Sidebar.php that might be the culprit, and I haven't edited comments.php. CSS or plugins are another story. I'm not too familiar with CSS. What CSS did you disable or what should I be looking for? Thanks for the help. I appreciate it!

  6. kabruning
    Member
    Posted 1 year ago #

    Okay, I disabled CSS on a single post in Firefox and I definitely see the sidebar there. Does that mean that something in the CSS is keeping it from appearing? What should I be looking for in which CSS file?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic