BuddyBoss Home – Web Support Forums Solutions Social Learner Change padding on content to header space

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

    #55184
    @stingray309

    Hi

    In this thread:

    https://www.buddyboss.com/support-forums/topic/disable-page-title/

    Varun Dubey describes a method to change the padding of the top of the page (content area). Here is the code he provides:

    #activate-page, .sensei-content, body.page:not(.buddypress) .site-content article:not(.comment), body.single:not(.buddypress):not(.bbpress) .site-content article:not(.comment){
    padding-top: 60px!important;
    padding-bottom: 36px!important;
    }

    Is there CSS code that will only reduce the padding on the “home” page’s content and leave the other pages in their default state? I want the home page to be 5px (and the others to be 60px).

    Thanks,

    Jim

    Answers

    #55199

    Anonymous
    @

    Hi @stingray309, Please provide the url for your home page so I could provide you the exact css for 5px padding and you can use the same css for other pages to set the padding 60px.

    Regards

    #55200
    @stingray309

    Hi

    Can I send to you my URL through your contact form? The web site is in “stat collecting mode” where we are attempting to monitor the site for keywords and don’t want the Internet BOTs to raise the numbers by posting here.

    Jim

    #55202

    Anonymous
    @

    Hi @stingray309, Okay you can send me the site details through contact us page.

    Regards

    #55203
    @stingray309

    Hi

    Thank you very much. I have submitted.

    Jim

    #55207

    Anonymous
    @

    Okay I will check that and reply you there..

    Thanks

    #55278
    @stingray309

    Hi

    Just to follow up with the great suggestion Pallavi provided. She indicated to make a copy of my FrontPage.php from the main theme’s file and add the following line of code between lines 19-21:

    <?php echo do_shortcode( ‘[layerslider id=”2″]’ ); ?>

    This worked perfectly! The slider now looks very professional.

    (Once I get a solution to this ticket: https://www.buddyboss.com/support-forums/topic/possible-bug-headings-colors-v-text-color/#post-55160…I’ll be looking really good!)

    Thank you Pallavi!

    Jim

    #55279
    @stingray309

    Additional Note:

    The slider shortcode is custom to my site; if you add this to your site, your shortcode might actually be slightly different.

    Jim

    #55322

    Anonymous
    @

    Thanks..I Will Provide you proper solution there..

Viewing 9 posts - 1 through 9 (of 9 total)
  • The question ‘Change padding on content to header space’ is closed to new replies.