Viewing 12 posts - 1 through 12 (of 12 total)
  • Question

    #55709
    @ahmco

    Could 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

    #55746

    Anonymous
    @

    Hi @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

    #55751
    @ahmco

    Hi @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;
    }
    #55756

    Anonymous
    @

    Hi @ahmco, Great it worked..!!

    If you have other concerns, just let us know and we will be more than happy to assist you.

    Regards

    #56955
    @khanhar

    Hello, is there any ways to modify padding of only the front page? The code above applied to all pages. Thank you.

    #57080

    Anonymous
    @

    Hi @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

    #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.

    #57103

    Anonymous
    @

    Hi @khanhar, Please paste your website url to inspect the issue.

    Regards

    #57111
    @khanhar

    @pallavi: This is my website url: http://128.199.73.217/
    I have sent you the admin details. Thank you.

    #58790

    Anonymous
    @

    Hi @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

    #58791
    @khanhar

    @pallavi: yeah I have fixed it. Thank you.

    #58817

    Anonymous
    @

    Glad 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • The question ‘Front Page padding’ is closed to new replies.