Title: Pages Layout Alignment Different from Posts
Last modified: May 12, 2026

---

# Pages Layout Alignment Different from Posts

 *  Resolved [r3ndy](https://wordpress.org/support/users/r3ndy/)
 * (@r3ndy)
 * [1 day, 7 hours ago](https://wordpress.org/support/topic/pages-layout-alignment-different-from-posts-2/)
 * Hi,
 * I’m experiencing a layout alignment issue between Pages and Posts on my WordPress
   site.
 * WordPress version: 6.9.4
   Theme: GeneratePress with GP Premium
 * Active plugins:
    - GP Premium
    - Code Snippets
    - List Category Posts
    - LiteSpeed Cache
    - Rank Math SEO
    - WPS Hide Login
    - Zoho Mail
 * I also added a custom snippet via GeneratePress Premium Elements (Hook Element):
 *     ```wp-block-code
       // Change the priority from the default 10 to 20add_filter( 'comment_form_defaults', function( $defaults ) {    $defaults['comment_notes_before'] = '    <div class="custom-comment-notes" style="margin-bottom:15px; font-size:14px; color:#aaa;">        <p>Gunakan email valid agar kamu mendapat notifikasi balasan.</p>        <p>Upload <a href="https://prnt.sc/" target="_blank" rel="nofollow noopener noreferrer" style="color:#0033ff;">screenshot</a> kamu di sini, lalu cantumkan link-nya di kolom komentar ya.</p>    </div>';    return $defaults;}, 20 ); // Increased priority
       ```
   
 * Screenshots:
    - First image: [Pages layout](https://prnt.sc/6GK599N8eR3Y)
    - Second image: [Posts layout](https://prnt.sc/rtWNOiQz9m5J)
 * Post example:
   [https://yourdomain.com/windows-11-aio/](https://yourdomain.com/windows-11-aio/)
 * Page example:
   [https://yourdomain.com/donasi/](https://yourdomain.com/donasi/)
 * The plugin/theme developer suggested this may be related to a WordPress filter
   rather than the theme itself.
 * Could this be caused by a template difference, hook conflict, or WordPress behavior
   between Pages and Posts?
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpages-layout-alignment-different-from-posts-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [1 day, 5 hours ago](https://wordpress.org/support/topic/pages-layout-alignment-different-from-posts-2/#post-18905251)
 * Your active theme may be applying different default styles for posts vs. pages.
   –
   Go to Appearance → Customize in your theme. – Look for Layout and Typography 
   settings. – Ensure the “Page layout” option matches the post layout. – If you
   see separate settings for posts and pages, set them to the same value.
 * Inspect the HTML and CSS by using your browser’s Developer Tools (right‑click
   → Inspect) on both a post and a page. Compare the HTML structure: Posts and Pages
   may have different wrapper classes.
 * For further assistance, I recommend asking at [https://wordpress.org/support/theme/generatepress/#new-post](https://wordpress.org/support/theme/generatepress/#new-post)
   so its developers and support community can help you with this.
 *  Thread Starter [r3ndy](https://wordpress.org/support/users/r3ndy/)
 * (@r3ndy)
 * [1 day, 3 hours ago](https://wordpress.org/support/topic/pages-layout-alignment-different-from-posts-2/#post-18905310)
 * Hi [@t-p](https://wordpress.org/support/users/t-p/) ,
 * Thank you for your earlier guidance regarding the layout difference between Pages
   and Posts.
 * After further investigation, the issue was resolved by adjusting theme-level 
   settings in GeneratePress Elements, specifically the display rules for Pages 
   and Posts.
 * I appreciate your support and direction toward checking the theme layer. It helped
   me find the root cause quickly.
 * Thank you for your great work on WordPress.
 * Best regards
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [1 day, 3 hours ago](https://wordpress.org/support/topic/pages-layout-alignment-different-from-posts-2/#post-18905319)
 * You are welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpages-layout-alignment-different-from-posts-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [1 day, 3 hours ago](https://wordpress.org/support/topic/pages-layout-alignment-different-from-posts-2/#post-18905319)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
