Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
LindseyCash

Code to change page width/padding on individual pages

Question

Site URL: http://lindsey-cash.com/journal

Hi, 

I'd like to be able to change the page width/padding on individual pages. Right now I'm having to change my page width/padding on ALL MY PAGES just to make my blog look good. I just made my page width wider and my page padding smaller to make a content page with images look how I wanted it to look, but now my blog looks weird (posts are too wide)! 

I've tried a few codes to make my blog posts less wide but nothing is working. Does anyone have a fix? I'd be fine with a code to either increase width/decrease padding or decrease width/increase padding and would then set my standard width as the opposite. I just want to be able to have variety and not be stuck with one width for all my pages. 

My goal is for my blog be skinny, like the width of the blog in the first image below, and to have individual pages that are the wider--like the width of the second image. But right now I can't have both which is frustrating. 

Thanks so much! 

Screen Shot 2020-02-14 at 3.48.32 PM.png

Screen Shot 2020-02-14 at 3.48.19 PM.png

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

Add to Home > Design > Custom CSS

.collection-type-blog.view-list section#page {
    max-width: 75%;
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...