Layout is different with and without comments
-
My referenced website is at https://angelopardo.com/wakeupbeast and I’ve built it as a child theme of twentytwelve
Pages and single posts that have comments are displaying correctly.
But pages and single posts that don’t have comments are bumping down the sidebar below the page.
What conditional statement outside of the loop can I use to target pages/posts that have no comments in order to display the sidebar correctly? I will probably place the code in single.php or page.php
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Layout is different with and without comments’ is closed to new replies.