Title: Post Archive Page CSS
Last modified: March 31, 2022

---

# Post Archive Page CSS

 *  [nifty27](https://wordpress.org/support/users/nifty27/)
 * (@nifty27)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/post-archive-page-css/)
 * Hi,
    I am currently using the GeneratePress Free theme. I have made a Post Archive
   Page and have discovered that the margins (right and left) seem to be set at 
   0.
 * Currently it looks terrible in the mobile and tablet version.
 * Could you please tell me/show me what the CSS would be to establish left and 
   right margins of 50px? How would I go about doing this?
    Thank you in advance
   for you help. James
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpost-archive-page-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Leo](https://wordpress.org/support/users/leohsiang/)
 * (@leohsiang)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/post-archive-page-css/#post-15514772)
 * Hi there,
 * I believe this CSS added by you is causing the issue:
 *     ```
       .inside-header, .inside-page-header, .one-container .site-content, .separate-containers .comments-area, .separate-containers .inside-article, .separate-containers .page-header, .separate-containers .paging-navigation {
       	padding: 0px;
       }
       ```
   
 * The default padding in the free theme should be `40px`.
 *  Thread Starter [nifty27](https://wordpress.org/support/users/nifty27/)
 * (@nifty27)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/post-archive-page-css/#post-15514892)
 * Thank you for your help. I made the changes and it is good now.
 *  [Leo](https://wordpress.org/support/users/leohsiang/)
 * (@leohsiang)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/post-archive-page-css/#post-15514913)
 * No problem 🙂

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

The topic ‘Post Archive Page CSS’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Leo](https://wordpress.org/support/users/leohsiang/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/post-archive-page-css/#post-15514913)
 * Status: not resolved