Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Great addition to my forum, small layout problem

I have a small layout problem with the leaderboard: http://audi-a2.nl/index.php?p=/yaga/ranks (on the right). As far as I understand the table is done in CSS ? I have no clue on how to fix this layout. Any pointers as to where to start ?

Comments

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @piotr

    What is it you want to achieve?

    By using a web inspector, you can click the relevant part of the page and see which css element(s) affects it.

    Then you can use the CSSEdit plugin to add the changes you want.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    Ok, you know I actually just last week helped Tof to fix the exact same problem in his forum.

    Here is the css code I used, try it and see if it also helps you

    /*fixes the leaderboard layout*/
    .Box.Leaderboard ul.PanelInfo li a {
        display: inline-block;
        background: transparent;
        padding: 0;
    }
    .Box.Leaderboard ul.PanelInfo li{
        border-bottom:1px solid #4e5d6c;
    }
    .Box.Leaderboard .Count {
        vertical-align: bottom;
        position: relative;
        top: 5px;
    }
    .Box.Leaderboard ul.PanelInfo li a .ProfilePhoto,.Box.Leaderboard ul.PanelInfo li a .ProfilePhotoMedium{
        width: 32px;
        height: 32px;
        border-radius: 0;
    }
    
  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited February 2016

    In order to avoid the count moving to the next line if the user name is too long , try adding this

    .Box.Leaderboard .Count {
        vertical-align: bottom;
        position: relative;
        top: 5px;
       font-size:10px
       font-weight:normal;
    }
    
  • Options

    Thanks for your business, @vrijvlinder ! Leaderboards look good now on my forum.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
  • Options
    hgtonighthgtonight ∞ · New Moderator

    @vrijvlinder You are still the CSS master :)

    @mirX and anyone else using Bootstrap, checkout the bootstrap compatibility branch here: https://github.com/hgtonight/Application-Yaga/commits/feature/bootstrap-compatibility

    I would love to get more feedback on issues where I have original markup.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.