Forums

When I disable comments, my sidebar moves to the content! (5 posts)

  1. dnnymynr
    Member
    Posted 3 years ago #

    When I disable comments on a particular page, the sidebar automaticly moves in the content section where the comment box was previously. I searched but didn't find anything. Anyone know what to do? Could it be an issue with the theme I'm using?

  2. blackmesa
    Member
    Posted 3 years ago #

    Most likely related to the theme. Perhaps it was intended logic by the theme developer. If i had to guess whatever element acts as the container for the comments isn't present when they are disabled which alters the markup used in the document which in turn uses a different bit of css.

    Install firebug for firefox and examine the differences in the markup between when they are active and disabled, you can probably disable the collapsing and expanding behavior by eliminating a php conditional.

  3. dnnymynr
    Member
    Posted 3 years ago #

    ok, I see that in the updated one the sidebar is moved into the content section. should I just cut the sidebar out and move it outside of the content <div> tags?

  4. dnnymynr
    Member
    Posted 3 years ago #

    sorry, how would I be able to edit the php file, its easy for me with the html, but how would I move the sidebar.php out of the content field?

  5. dnnymynr
    Member
    Posted 3 years ago #

    what php conditional should I look for? Sorry, I'm pretty new to php.... ok very new to php!

Topic Closed

This topic has been closed to new replies.

About this Topic