Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can i change the color?


  • bruce30
    Participant

    @bruce30

    howdy everyone. is it possible to change the color of the number or the background of the number if i receive a new Message, notification or friend request? please let me know., and help me.,

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

  • danbp
    Participant

    @danbp

    Hi,

    yes of course it is possible.
    You have to modify CSS from within your child-theme.

    Try:

    #buddypress div.item-list-tabs ul li.current a span, #buddypress div.item-list-tabs ul li.selected a span {
        background-color: red!important;
    }

    This example will change the background color into red for the number when you’re on a profile tab.
    Ie. when on message tab, background goes red. When not, it stays in original color. When on friends tab, background goes red, and so on.

    Use Firebug or a similar tool to get the correct tag class or id name.


    bruce30
    Participant

    @bruce30

    thanks for your reply @danbp ., 🙂 but where should i put this ? into my childs theme functions? sorry im new at this., 🙂


    bruce30
    Participant

    @bruce30

    please anyone.,??


    danbp
    Participant

    @danbp

    Color means styling. And styling means CSS.
    As mentionned in my first answer, you have to add the code into your child-theme’s style.css file


    bruce30
    Participant

    @bruce30

    thanks for the response @danbp ., i use twentyfourteen theme and i find the CSS folder and inside of that folder editor-style.css file then i paste the code inside, but nothings happen.


    bruce30
    Participant

    @bruce30

    sorry about it @danbp ., i find the style.css of the theme i paste the code and still nothings happen., maybe i did wrong.?


    bruce30
    Participant

    @bruce30

    Hi @danbp ,
    thank you for the code that you gave me, is works. but all it does is just changing when i navigate inside the messages, notification, etc. what i min is. the moment i receive a new messages or notification. it will change the background color. do you have any idea? please help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can i change the color?’ is closed to new replies.
Skip to toolbar