NattyWP - Community Forum
Welcome, Guest. Please login or register.
NattyWP Community « Configuration and Development « Easy Touch theme « Box items separated by two breaks
Pages: [1]   Go Down
  Print  
Author Topic: Box items separated by two breaks  (Read 1460 times)
raweiss
Newbie
*
Karma: 0
Posts: 12
View Profile

I am placing several items in the boxes on the main index page. I noticed a lot of gap between them that I would like to close up. I changed the padding to close up the <p> but there is still space. So I looked at the source code and see two <br /> after each <div>, but when I look at the actual index.php file I don't see these <br />  tags anywhere, and I didn't input them in myself. I am assuming something is set to default these, but I can't find where that is so I can remove at least one of them.

Rick
Logged
Dmitry A
NattyWP Team

Sr. Member
*****
Karma: 101
Posts: 243
View Profile

Hello,
yes, you need to open your functions.php and edit sidebar init.
Here is the line:
Code:
'after_widget' => '</div><br/><br/>',
Logged

raweiss
Newbie
*
Karma: 0
Posts: 12
View Profile

Thanks, that is what I was looking for!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: