• 0
Sign in to follow this  
Followers 0

Remove padding on specific page

Question

Posted · Report post

Hi, I'm trying to remove some space between my main content area and the boxes section on my home page. I used Chrome dev tool and managed to do it (yipee!). See code below. However, I just want this to work on this one specific page and I can't figure out where to add the page id (which is 7641).

#boxes .content-pad {
	padding-top: 0px;
	}
	
	#content .content-pad {
	padding-bottom: 0px;
	}
	
	.hentry-pad {
	padding: 0 0 0px;
	}
	
	.fpost {border:0}

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

Try specifying your CSS with .page-id-7641 in front of each CSS element. Like this [code].page-id-7641 #boxes .content-pad { padding-top: 0px; }[/code]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

awesome, thanks a lot! BTW, 2.2 looks really good so far, can't wait to play with it a little more :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0