Skip to:
Content
Pages
Categories
Search
Top
Bottom

sidebar issues

  • Avatar of caspergrimaldi
    caspergrimaldi
    Participant

    @caspergrimaldi

    Hi, I have 2 issues with the sidebar.
    First one is on the normal pages, as you can see, it isn’t floating on the right anymore. I’ve had a look around the CSS and php but can’t figure out where the problem is.
    adauk.org

    The second issue is on the BP members pages. The member header is taking space above the sidebar but as you can see, it leaves an empty space. i was wondering how I could get rid of it so the sidebar comes up?

    http://adauk.org/members/faker/

    Could anyone help out?
    Many thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of caspergrimaldi
    caspergrimaldi
    Participant

    @caspergrimaldi

    I solved half of the issue.
    i had set up the css with margin-right:auto and same for margin left. Once I took it out it was back to normal.
    However still would like to get rid of the empty space above sidebar in the profile sections.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    still would like to get rid of the empty space above sidebar in the profile sections.

    @caspergrimaldi That’s the default layout of Frisco theme for Member and Group pages. You can use negative margin for the member sidebar in your custom.css file

    body.bp-user #sidebar {
    margin-top: -100px;
    }

    Adjust negative margin to taste. You’d have to change margin-top for the same in media query section

    Avatar of caspergrimaldi
    caspergrimaldi
    Participant

    @caspergrimaldi

    media query section? Not familiar with this sorry.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Add this to the bottom of your custom.css

    /* Mobile */
    @media only screen and (max-width: 767px) {
    body.bp-user #sidebar {
    margin-top: 0;
    }
    }

    Avatar of caspergrimaldi
    caspergrimaldi
    Participant

    @caspergrimaldi

    It didn’t work. Nothing happened :S

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @caspergrimaldi It won’t work if you don’t add it to a stylesheet. Where did you add the style I posted above? I don’t see it in the theme’s stylesheet nor did you create a custom.css file per instruction of theme dev to add style changes.

    Avatar of caspergrimaldi
    caspergrimaldi
    Participant

    @caspergrimaldi

    Nope, I didn’t create a custom stylesheet. I’ve been modifying the style.css one and have save copies of it regularly as well as keeping a copy of he original one.

    I put the code in the style.css, however because it didn’t work I erased it, hence you not seeing it.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.