Chatbox Detail Color Changes Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
+2
Ace
TheCrow
6 posters

    Chatbox Detail Color Changes

    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Chatbox Detail Color Changes

    Post by Guest Sat 5 Dec - 23:25

    Hello,

    I'd like to edit two things on my forum's chatbox, so I'm hoping someone could help me by providing a code. I am wanting to change the color of the border that goes around the chatbox avatars and then I also wish to change the color of the line that separates the chat from the "online/offline" status list.

    My forum's version is phpBB3, the url is listed below, and I want to say thank you to anyone that has the time to assist with this feature. I really appreciate your time.

    www.gatewaytoroleplay.com


    Last edited by Leah7 on Sun 6 Dec - 0:34; edited 1 time in total
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by TheCrow Sat 5 Dec - 23:28

    Hello @Leah7,

    Add this in your CSS:
    Code:
    #chatbox .cb-avatar {
    border:1px solid XXXXXX!important; /*for the avatar border*/
    }
    #chatbox_members{
    border-right:1px solid XXXXXX!important; /*for the line that separates chatbox from memberlist*/
    }

    That should fix both of your problems! Smile


    Luffy



    Chatbox Detail Color Changes Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 0:33

    Thanks!  Both codes seem to work perfectly, but I seem to have a white line above and to the left side of the avatar, for some odd reason.  O-o Is there any way I can fix that?

    Chatbox Detail Color Changes Dx10

    Here is the code that I have, at this time:
    Code:
    /* Chatbox Avatar */
        #chatbox .cb-avatar img{
        border:1px solid #303030!important;}    
       #chatbox .cb-avatar {background:none !important }
       #chatbox .cb-avatar {border:none!important;}
    Ace
    Ace
    Forumember


    Posts : 250
    Reputation : 49
    Language : Portuguese & English

    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Ace Sun 6 Dec - 1:39

    Good evening Leah,

    Apply this to your CSS Stylesheet:

    #chatbox .cb-avatar{
    border: 0px !important;
    }

    Regards.
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 1:42

    There was no change. :/
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 1:53

    Leah7 wrote:There was no change. :/

    Try replacing your code with this:

    Code:
    /* Chatbox Avatar */
        #chatbox .cb-avatar img{
        border:0px solid #333!important;}   
      #chatbox .cb-avatar {background:none !important }
      #chatbox .cb-avatar {border:none!important;}
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 2:12

    That also had no change, but thank you for trying. =)
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 3:00

    This should do the trick:

    Code:
    #chatbox .cb-avatar {
        background: none repeat scroll 0 0 #fff;
        box-shadow: 0 2px 2px rgba(0,0,0,0.1);
        float: left;
        height: 30px;
        margin-right: 4px;
        padding: 1px;
        vertical-align: middle;
        width: 30px;
    }
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 3:38

    No luck. Sad
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 11:20

    Try to put this at the first line of your CSS stylesheet:
    Code:
    #chatbox .cb-avatar {
    border: 0px !important;
    }
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 16:47

    This didn't remove it, either. According to some, I probably won't be able to fix it, because the stupid border appears in the code that comes from the option to make avys activated in the admin panel option. >( Grrr.
    Rhino.Freak
    Rhino.Freak
    Helper
    Helper


    Male Posts : 1248
    Reputation : 104
    Language : English
    Location : Mumbai, India

    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Rhino.Freak Sun 6 Dec - 16:51

    Leah7 wrote:This didn't remove it, either. According to some, I probably won't be able to fix it, because the stupid border appears in the code that comes from the option to make avys activated in the admin panel option. >( Grrr.

    If that's the case, try this code. It's a javascript that gets the highest priority and can overwrite the styles.

    Modules > JS codes management > New
    Placement: All
    Code:

    $(function() {
      $(document.body).append('<style>#chatbox .cb-avatar {border: 0px !important;}</style>');
    });
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 19:07

    That didn't work, either. :/ No change.
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 22:18

    May I ask for the script you're currently using?
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Sun 6 Dec - 23:24

    As in all of my CSS, or all javascripts?
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19324
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Ape Mon 7 Dec - 0:21

    @Leah7 do you have a test account i can use to take a look ? if so please pm me it XX



    Chatbox Detail Color Changes Left1212Chatbox Detail Color Changes Center11Chatbox Detail Color Changes Right112
    Chatbox Detail Color Changes Ape_b110
    Chatbox Detail Color Changes Ape1010
    Ace
    Ace
    Forumember


    Posts : 250
    Reputation : 49
    Language : Portuguese & English

    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Ace Mon 7 Dec - 0:37

    APE wrote:@Leah7 do you have a test account i can use to take a look ? if so please pm me it XX

    @APE This border appears in every chatbox avatar. Just activate a chatbox in any FM forum, use the Inspect Element and you'll see. Mark, there's no script -- it's a Admin CP function and it comes with an external CSS that, even with JS, seems very hard to override (just the border part).

    @Leah7 would you be willing to deactivate the native avatar function from the chatbox and we rebuild it using JS? Smile

    Regards.
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Mon 7 Dec - 3:13

    @APE
    If I can't get the Js for this to work, then I'll make you a test account and let you know!

    @Ace
    I won't mind using the Javascript code, instead of the admin panel feature. ^^
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Ange Tuteur Mon 7 Dec - 11:28

    Hi @Leah7,

    See if the following CSS rules work for you.

    1. Avatar border color
    Code:
    body.chatbox #chatbox .cb-avatar {
      border-color:#333 !important;
    }

    2. Memberlist division line
    Code:
    #chatbox_members {
      border-color:#333 !important;
    }
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Mon 7 Dec - 14:35

    Thank you, Ange~

    The separation bar is changed nicely, but the avatar border doesn't go away, unfortunately. Sad
    avatar
    Guest
    Guest


    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Guest Tue 8 Dec - 16:12

    Since this cannot be resolved, it can be closed.
    Rhino.Freak
    Rhino.Freak
    Helper
    Helper


    Male Posts : 1248
    Reputation : 104
    Language : English
    Location : Mumbai, India

    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by Rhino.Freak Tue 8 Dec - 17:06

    Should be reported to @Buttercup tho.
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    Chatbox Detail Color Changes Empty Re: Chatbox Detail Color Changes

    Post by brandon_g Tue 8 Dec - 17:41

    @Rhino.Freak, since this is not really a bug, it is not worth really bothering Buttercup over. If you want this to be changed (within the feature), I would suggest making a suggestion about it in the suggestions section Very Happy.

    Topic locked on topic starter request ~brandon_g

    -Brandon



    Chatbox Detail Color Changes Brando10
    Remember to mark your topic Chatbox Detail Color Changes Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

    Chatbox Detail Color Changes Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points