BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › Front Page padding
Tagged: front page, padding
- This topic has 11 replies, 3 contibutors, and was last updated 8 years, 9 months ago by Anonymous.
Question
January 6, 2016 at 6:30 pm #55709@ahmcoCould you help with, what I’m sure is a basic task, please? I would like to remove the padding/space on the front-page template so that the content can sit snuggly against the titlebar.
Any suggestions?Answers
January 7, 2016 at 5:45 am #55746@
AnonymousHi @ahmco, Please let me know that the padding/space is above homepage slider? or main content area..so I can provide you css according to that.
Also please attach a full page screenshot.Regards
January 7, 2016 at 7:06 am #55751@ahmcoHi @pallavi! I used the following CSS code that I found on the forums and it seemed to work.
#activate-page, .sfwd-content, body.page:not(.buddypress) .site-content article:not(.comment), body.single:not(.buddypress):not(.bbpress) .site-content article:not(.comment){ padding-top: 0px!important; padding-bottom: 0px!important; }
January 7, 2016 at 7:16 am #55756@
AnonymousHi @ahmco, Great it worked..!!
If you have other concerns, just let us know and we will be more than happy to assist you.
Regards
January 22, 2016 at 9:59 pm #56955@khanharHello, is there any ways to modify padding of only the front page? The code above applied to all pages. Thank you.
January 25, 2016 at 2:08 am #57080@
AnonymousHi @khanhar, Please use the following CSS:
body.page-template-front-page.page:not(.buddypress) .site-content article:not(.comment) { padding-top: 0px!important; padding-bottom: 0px!important; }
Regards
January 25, 2016 at 5:48 am #57096@khanhar@pallavi
Thank you for your assist.
I have tried the code but unfortunately it didn’t work. Could you please check if there is something wrong? I have attached images to clarify what I mean.
Thank you.January 25, 2016 at 6:26 am #57103@
AnonymousHi @khanhar, Please paste your website url to inspect the issue.
Regards
January 25, 2016 at 7:13 am #57111@khanhar@pallavi: This is my website url: http://128.199.73.217/
I have sent you the admin details. Thank you.February 10, 2016 at 5:32 am #58790@
AnonymousHi @khanhar, Sorry for the delayed response…I have checked your site there is no extra padding in your site.
Please let me know if you still need any further help please let me know..
Regards
February 10, 2016 at 5:36 am #58791@khanhar@pallavi: yeah I have fixed it. Thank you.
February 10, 2016 at 6:55 am #58817@
AnonymousGlad 🙂
- The question ‘Front Page padding’ is closed to new replies.