Jump to content


Photo
- - - - -

Remove whitespace under ContentBox in Header

CSS ContentBox Header

Best Answer Rob , 18 February 2013 - 09:48 PM

Hi,

 

There are two snippets that may also be affecting your layout, in addition to those kindly provided by Batman.

 

These two are the originals:

 
.hentry .hentry-pad {
    padding: 0 0 25px;
}
.hentry {
    clear: both;
    margin: 0 0 1.8em;
}

The 25px and 1.8em could be modified to 0.  With 0, you do not need to extend it with px or em.

 

You should be using Firebug or Chrome's Inspection Tools to identify these elements.

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 Cortney

Cortney

    Newbie

  • Members
  • 2 posts
  • Country: Country Flag

Posted 18 February 2013 - 07:36 PM

I have a ContentBox above Branding in my header with unwanted whitespace between. I'd like to tweak the CSS to fix it -- any ideas how?

 

www.tricrowd.com


Cortney



#2 batman

batman

    Bat Learning

  • Members

  • 2203 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 18 February 2013 - 09:43 PM

Hi Cortney

 

You can try add in


PageLines > Site Options > Custom Code > CSS Rules

or in

Pagelines Customize (plugin)

 

Please Login or Register to see this Hidden Content

or/and

 

Please Login or Register to see this Hidden Content

You can change #px and #em as you like

 

It is advisable to learn how to do this on your own too.  

Check out 

Please Login or Register to see this Hidden Content

 

If you need more CSS help, make sure you've downloaded Firebug for Firefox

and check out W3 Schools for more info. 

Please Login or Register to see this Hidden Content


  • Cortney likes this

#3 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 18 February 2013 - 09:48 PM   Best Answer

Hi,

 

There are two snippets that may also be affecting your layout, in addition to those kindly provided by Batman.

 

These two are the originals:

Please Login or Register to see this Hidden Content

The 25px and 1.8em could be modified to 0.  With 0, you do not need to extend it with px or em.

 

You should be using Firebug or Chrome's Inspection Tools to identify these elements.


  • Cortney likes this

#4 Cortney

Cortney

    Newbie

  • Members
  • 2 posts
  • Country: Country Flag

Posted 19 February 2013 - 01:38 AM

YAY!!!!! Thank you!!!!  It's perfect now!!

 

Cortney







Also tagged with one or more of these keywords: CSS, ContentBox, Header