• Resolved sicky_brazz

    (@sicky_brazz)


    Hi, when a user views “points history” in a profile, the following issues are happening:
    >> The “Date” values are over lapping into the points column
    >> No values are showing in the “Points” column

    Can someone suggest any solutions, like:
    >> How to correctly space out the columns.
    >> How to get the “Points” columns values to show.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author myCred

    (@designbymerovingi)

    Hi.

    Sounds like a styling issue. Your theme (or another plugin) is enforcing CSS styling that is making things look out of place.

    I would inspect the element that is out of place and see what CSS styling is applied to it and make the necessary adjustments.

    myCRED itself comes with very little CSS styling, the rest if up to your theme since there are so many of them.

    Thread Starter sicky_brazz

    (@sicky_brazz)

    Ahh, sorry @gabriel, looking a bit closer, it appears that the points values are actually showing, they are just aligned to the left, as are the “Entry” columns values, this makes the point look like part of the “Date” column as the points values are immediately after the dates.

    So my question now, is there a way I can “Align Center” the columns of the:
    >> “Points” values
    >> “Entry” values
    If so, how would I go about doing it?

    P.S.
    Thanks for your reply and I must say, coming from cubepoints to MyCred was probably the best move I have made in a long time, such a vast improvement!

    Plugin Author myCred

    (@designbymerovingi)

    To center your column headers you could try adding:

    table th { text-align:center; }

    But depending on your theme stylesheet. I personally use Chrome and the developer toolbar which allows me to “inspect” elements and see what css styles are applied to it so I can make quick adjustments.

    Thread Starter sicky_brazz

    (@sicky_brazz)

    @gabriel
    OK, and I would put that into my child themes style.css right?

    I’m not too clued up on this so don’t really know what I’m looking for when inspecting, also, I’m guessing I would have to put the code you provided inside another bit of code.. correct?

    P.S.
    I use chrome as standard anyway and if possible, can you provide the full set of code I would need and where exactly to put it, cheers.

    Plugin Author myCred

    (@designbymerovingi)

    Yes, you adjust your themes styling via your child themes style.css file or in the case of some theme in the provided CSS file. (mine for example has custom.css that I edit).

    Depending on what you want to style, you can right click on that element and select “Inspect Element” in Chrome. This will open up the developer toolbar and you can see the HTML code and CSS styles.

    The above mentioned code is a very generic rule that applies centered text to all table header elements. If you are new to CSS, there are some good sites that can help you get started.

    Thread Starter sicky_brazz

    (@sicky_brazz)

    @gabriel
    Thanks a lot!

    Got it all looking how it should now ??

    Thanks again for providing a great plugin and even more so for the above help!

    All the best.
    Brazz

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘not showing points in point history’ is closed to new replies.