Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] custom styles for activity page tabs !

  • Avatar of mahdiar
    mahdiar
    Participant

    @mahdiar

    Hi

    There is a number next to the friend tab that shows number of friends and other tabs .

    I’d like to add some custom styles to them . I use inspect feature in firefox but I couldn’t find the solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    And what solution were you looking for?

    I found the styles in seconds using Firebug:

    #friends-personal-li a span {}

    or:
    .item-list-tabs li a span {}
    if you want to catch all the span numbers across bp screens nav

    Avatar of mahdiar
    mahdiar
    Participant

    @mahdiar

    Thanks but none of them works ! I use this css code:

     .item-list-tabs li a span {
    color:red;
    font-size:20px;
    background-color:orange;
    }
    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    At what point is that ruleset appearing in the cascade? This is likely an issue of selector weight, try putting an id in that selector set, an id that is a parent of one of those elements.

    Avatar of mahdiar
    mahdiar
    Participant

    @mahdiar

    Even I change the style of all spans ( span{} ) but it doesn’t work .
    I found this in frisco theme :
    div.item-list-tabs ul li a span {}
    It doesn’t work neither !

    Avatar of mahdiar
    mahdiar
    Participant

    @mahdiar

    I put an !important at the end and it works .
    Thanks Hugo

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

You must be logged in to reply to this topic.