Jump to content


Photo
- - - - -
Resolved

Remove Gap Between Content Box And Content



  • Please log in to reply
3 replies to this topic

#1 illinimatt81

illinimatt81

    Super Member

  • Members

  • 200 posts
  • LocationChicago, IL
  • Framework Version:DMS 2
  • Country: Country Flag

Posted 21 November 2012 - 08:24 PM

For the life of me I can't get rid of the gray space between the content box and the content area on my landing page at

Please Login or Register to see this Hidden Content



This is what I am looking to accomplish:

Please Login or Register to see this Hidden Content



Been trying things for a couple hours and no luck... Firebug is showing me something with hentry that seems to be part of the area in question but I have been unsuccessful in isolating it. Here is the CSS I have used and took this formatting from my other sites where the landing pages look good and only changed the page ID for this page.



.page-id-14 #page {
background-color: #E7ECEF;
}
body.page-id-14 {background-color: #E7ECEF; margin-top: 30px;}
body.page-id-14 .content-pad {
margin-top:0;
margin-bottom:0;
margin-left:0;
margin-right:0;
}
.page-id-14 .page-canvas { background-color: #E7ECEF !important; }

body.page-id-14 .content-pad {
padding: 0;
}

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 21 November 2012 - 08:38 PM

You need to try using a negative value for margin-top. For example:

Please Login or Register to see this Hidden Content


  • illinimatt81 likes this

#3 illinimatt81

illinimatt81

    Super Member

  • Members

  • 200 posts
  • LocationChicago, IL
  • Framework Version:DMS 2
  • Country: Country Flag

Posted 21 November 2012 - 08:53 PM

You need to try using a negative value for margin-top. For example:

Please Login or Register to see this Hidden Content


Yes! Worked! Knew it was simple. Would have never guessed that on my own.

#4 James B

James B

    Advocate

  • Moderators
  • 4983 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 22 November 2012 - 12:06 AM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved