philipus Posted September 11, 2021 Share Posted September 11, 2021 Site URL: https://philipus.com/journal Hello Is there a way to make the blog take up less than the full width of the page? I'm wondering both about the list of blog posts and individual posts. I know that I can add spacers when I create blog posts but that's time consuming and also doesn't always work well. Basically I'd like to set a right margin, preferably of a percentage of the page width. Thank you in advance Philip philipus.com ◦▪︎◦ instagram Link to comment
tuanphan Posted September 14, 2021 Share Posted September 14, 2021 On 9/12/2021 at 4:55 AM, philipus said: Site URL: https://philipus.com/journal Hello Is there a way to make the blog take up less than the full width of the page? I'm wondering both about the list of blog posts and individual posts. I know that I can add spacers when I create blog posts but that's time consuming and also doesn't always work well. Basically I'd like to set a right margin, preferably of a percentage of the page width. Thank you in advance Philip Add to Design > Custom CSS /* Blog page width */ @media screen and (min-width:641px) { body.collection-type-blog .main-content { margin-right: 20vw; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.