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

Include padding left/right on masonry & basic grid blog page


hboss22

Question

Site URL: https://www.fromyourmuse.com

I'd like to include padding to the left and right side of my masonry and basic grid blog pages only on desktop. 

The first image shows what my site looks like and the second shows how id like the margins to look! Looking to know what CSS to include.

website pwd: musings2

Screen Shot 2021-02-23 at 7.52.14 AM.png

Screen Shot 2021-02-23 at 7.52.53 AM.png

Link to post
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

5 answers to this question

Recommended Posts

  • 0
On 3/7/2021 at 9:06 PM, hboss22 said:

Hi @tuanphan here's the link to the blog page! 

https://www.fromyourmuse.com/alldesign

Website password is musings2

Add to Design > Custom CSS > Then save & reload your site

/* Blog padding desktop */
@media screen and (min-width:768px) {
div#page-section-5ebbbe47c9b14e646e50e75f {
    padding-left: 2vw;
    padding-right: 2vw;
}
div#page-section-6044e403513b644d69b38326 {
    padding-left: 4vw;
    padding-right: 4vw;
}
}

 

Link to post
  • 0

Hey @tuanphan thanks for getting back to me! This didn't seem to work but it might be because I changed my URL slug for that page recently. Does this code only apply to one single blog page or is it a universal code that will affect them all? 

Link to post
  • 0
On 3/15/2021 at 6:32 PM, hboss22 said:

Hey @tuanphan thanks for getting back to me! This didn't seem to work but it might be because I changed my URL slug for that page recently. Does this code only apply to one single blog page or is it a universal code that will affect them all? 

It apply on one page

Can you share link to new page?

 

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...