[Resolved] Spacing between sidebar and footer

Home Forums Support [Resolved] Spacing between sidebar and footer

Home Forums Support Spacing between sidebar and footer

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #265884
    Carl

    Hi team – usually I would be happy to spend a few hours trying to find the solution for this but I am kind of pressed for time with out launch next week! Any solutions for the following issue? When the main content of a page is minimal, the sidebar widgets are compressing into the footer instead of maintaining spacing:

    http://bit.ly/2k5CPmd

    #265935
    Leo
    Staff
    Customer Support

    Hi Carl,

    Try this CSS:

    .inside-right-sidebar {
        margin-bottom: 30px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know.

    #265945
    Carl

    Thanks Leo, but unfortunately didn’t change anything.

    #265948
    Leo
    Staff
    Customer Support

    Weird…Just tested the code and it seems to work for me.

    Any chance your site is live?

    #265953
    Carl

    Yeah it is, this is an example page where I see the problem https://pe.mystudyseries.co.nz/courses/as90962-1-1/

    I have just left the office unfortunately!

    #265958
    Leo
    Staff
    Customer Support

    Don’t think you’ve provided the right page…That page has enough content so that the sidebar doesn’t touch the footer section.

    #265960
    Carl

    Knew that would happen. I’ll look again when I am at desk and flick through. Only a minor and no big rush. Sorry to be a pain.

    #265963
    Leo
    Staff
    Customer Support

    No problem. Just provide the correct link and we will solve it 🙂

    #266024
    Carl

    Ok, I can’t replicate the issue unless the user is logged in. I have two sidebar widgets which grow to accommodate user achievements and site navigation, as per the video below. See what you think.

    #266025
    Leo
    Staff
    Customer Support

    Are you using a plugin in the sidebar widget to display those items?

    Try this CSS:

    .widget_ldcoursenavigation {
        margin-bottom: 20px !important;
    }

    Let me know.

    #266031
    Carl

    No luck. The widget I am using came with the learndash plugin if that helps..

    #266034
    Leo
    Staff
    Customer Support

    few more attempts before I go to sleep…
    1. Try the code above again – I added !important
    2. This CSS should push the sidebar away, but then you would have double the margin when the content is longer..

    .site-footer {
        margin-top: 20px;
    }

    3. Create a temp user for me to log in and see what’s going on when it expands.

    #266038
    Tom
    Lead Developer
    Lead Developer

    As a test, I used developer tools to insert some more content into the widget: https://www.screencast.com/t/ommkOing2u

    As you can see, the separator exists. I’m not sure how the plugin is adding content to the sidebar that would make the element ignore the margin. As Leo said, one of us would have to log in to take a look.

    #266044
    Carl

    Thanks Leo and Tom!

    .widget_ldcoursenavigation {
        margin-bottom: 20px !important;
    }

    That worked a treat! EPIC!

    #266176
    Leo
    Staff
    Customer Support

    Glad we can help!

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.