Jump to content


Photo
- - - - -

Removing white space around features on a certain page


  • Please log in to reply
5 replies to this topic

#1 chamainew

chamainew

    Advanced Member

  • Members

  • 31 posts
  • LocationOakland, California
  • Framework Version:2.3.8
  • Country: Country Flag

Posted 21 June 2013 - 04:52 PM

Hi, I would like to remove the white space from the sides of this feature...without removing the white space above it on these two pages

 

Please Login or Register to see this Hidden Content

Please Login or Register to see this Hidden Content

 

I also want to remove the slight border around the features but it's still there

 

Since I'm still learning about CSS...I thought this code woud work:

body .content .content-pad {
  padding:5 5 10px;
  color: #656464;
}

#content .content-pad {
  padding-top:10px;
}

.hentry .hentry-pad {
      padding:0 0 5px;
    border-top: 0 px
    border-bottom: 0
}

.fullwidth #column-main .mcolumn-pad {
  padding-left:0px;
  padding-right:0px;
}


 



#2 Martin Davies

Martin Davies

    Advocate

  • Moderators
  • 2550 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 21 June 2013 - 05:11 PM

Hello Chamaine

 

looks like you are getting the hang of it. 

 

Try prefixing your .content -pad with #features 



#3 chamainew

chamainew

    Advanced Member

  • Members

  • 31 posts
  • LocationOakland, California
  • Framework Version:2.3.8
  • Country: Country Flag

Posted 21 June 2013 - 05:35 PM

Thanks for the compliment but there's still white space on the left and right of the feature...here's the revised css:

 

body .content .content-pad {
  padding:5 5 10px;
  color: #656464;
}

#features .content-pad {
  padding-top:10px;
}

.hentry .hentry-pad {
      padding:0 0 0px;
    border-top: 0px
    border-bottom: 0px solid
    
}

.fullwidth #column-main .mcolumn-pad {
  padding-left:0px;
  padding-right:0px;
}

 



#4 James B

James B

    Advocate

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

Posted 21 June 2013 - 10:20 PM

Hi Chamaine, 

 

We've dealt with this in llve but for anyone following this thread I'll post the solution we tried

 

#features .content-pad {
    padding-left:0;
    padding-right:0;
}



#5 chamainew

chamainew

    Advanced Member

  • Members

  • 31 posts
  • LocationOakland, California
  • Framework Version:2.3.8
  • Country: Country Flag

Posted 21 June 2013 - 10:51 PM

Thanks for your help! It looks great!

I didn't realize you're the "James" I've been speaking with in live!

You're always so nice to me!



#6 James B

James B

    Advocate

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

Posted 21 June 2013 - 11:14 PM

Yeah it's me :-)

 

You're welcome, have a great weekend