Black and white profile pictures 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.
4 posters

    Black and white profile pictures

    MissUrsh
    MissUrsh
    Forumember


    Female Posts : 130
    Reputation : 11
    Language : English

    In progress Black and white profile pictures

    Post by MissUrsh Sun 28 Jul - 23:12

    Hello! I'm guessing there's a code that I could use to make all profile pictures on my forum turn black and white? Smile

    Code:
    .POSTDETAILS.POSTER-PROFILE IMG{
      -webkit-filter: grayscale(100%); }

    I was hoping something like this could work but it doesn't, is there any other way?

    Thanks in advance!
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15310
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    In progress Re: Black and white profile pictures

    Post by skouliki Sun 28 Jul - 23:32

    You want a hover black grayscale effect or solid black and white?

    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    In progress Re: Black and white profile pictures

    Post by Draxion Mon 29 Jul - 1:57

    Hello. If you want to change all profile pictures black and white, you have the right idea but wrong selectors. Use this CSS to turn all avatar images black and white.

    Code:
    #spark > a > img,
    #emptyidcc > table > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(2) > table:nth-child(1) > tbody > tr:nth-child(2) > td > img:nth-child(1) {
        filter: grayscale(100%);
    }
    MissUrsh
    MissUrsh
    Forumember


    Female Posts : 130
    Reputation : 11
    Language : English

    In progress Re: Black and white profile pictures

    Post by MissUrsh Mon 29 Jul - 12:22

    skouliki wrote:You want a hover black grayscale effect or solid black and white?

    I want solid black and white Very Happy

    Draxion wrote:Hello. If you want to change all profile pictures black and white, you have the right idea but wrong selectors. Use this CSS to turn all avatar images black and white.

    The code isn't working for me :/
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    In progress Re: Black and white profile pictures

    Post by Draxion Mon 29 Jul - 15:01

    Try the original property.

    Code:
    #spark > a > img,
    #emptyidcc > table > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(2) > table:nth-child(1) > tbody > tr:nth-child(2) > td > img:nth-child(1) {
      -webkit-filter: grayscale(100%);
      filter: grayscale(100%);
    }
    MissUrsh
    MissUrsh
    Forumember


    Female Posts : 130
    Reputation : 11
    Language : English

    In progress Re: Black and white profile pictures

    Post by MissUrsh Mon 29 Jul - 21:00

    It's still not working. :/
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    In progress Re: Black and white profile pictures

    Post by Draxion Tue 30 Jul - 6:00

    MissUrsh wrote:It's still not working. :/

    I'm sorry. Let me try this a different way. Can you PM me a test account I can use?
    avatar
    Guest
    Guest


    In progress Re: Black and white profile pictures

    Post by Guest Tue 30 Jul - 10:14

    Have you tried to add important like like this:

    Code:

    -webkit-filter: grayscale(100%)!important;
      filter: grayscale(100%)!important;

    Maybe that will do the job.
    Storyteller of Wonderland
    Storyteller of Wonderland
    Forumember


    Female Posts : 108
    Reputation : 10
    Language : Russian, German, French, English.
    Location : Russia

    In progress Re: Black and white profile pictures

    Post by Storyteller of Wonderland Wed 7 Aug - 5:47

    MissUrsh wrote:Hello! I'm guessing there's a code that I could use to make all profile pictures on my forum turn black and white? Smile

    Code:
    .POSTDETAILS.POSTER-PROFILE IMG{
      -webkit-filter: grayscale(100%); }

    I was hoping something like this could work but it doesn't, is there any other way?

    Thanks in advance!

    Hey.

    You have the following code in CSS:

    Code:

    #spark {
        height: 300px;
        overflow: hidden;
        position: relative;
        width: 200px;
    }

    Add two lines to it:

    Code:
    -webkit-filter: grayscale(1);
    filter: grayscale(1);

    That is, it will be like this:

    Code:
    #spark {
        height: 300px;
        overflow: hidden;
        position: relative;
        width: 200px;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    }

    It's all ...



    If you often use !Important - one day this will become a burden, and you will feel that the browser can hardly read the codes of your forum.

    Good luck!
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15310
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    In progress Re: Black and white profile pictures

    Post by skouliki Sun 11 Aug - 14:56

    hello

    If your request is complete, please mark it as solved