Black and white profile pictures

Go down

In progress Black and white profile pictures

Post by MissUrsh on July 28th 2019, 11:12 pm

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!
MissUrsh
MissUrsh
Forumember

Female Posts : 130
Reputation : 11
Language : English

http://whentheshadowswalk.slovenianforum.com

Back to top Go down

In progress Re: Black and white profile pictures

Post by skouliki on July 28th 2019, 11:32 pm

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

Female Posts : 6975
Reputation : 1020
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Black and white profile pictures

Post by Draxion on July 29th 2019, 1:57 am

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%);
}


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as Black and white profile pictures Solved11 when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

Black and white profile pictures Draxio14
Draxion
Draxion
Support Moderator
Support Moderator

Male Posts : 2384
Reputation : 301
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

In progress Re: Black and white profile pictures

Post by MissUrsh on July 29th 2019, 12:22 pm

@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 :/
MissUrsh
MissUrsh
Forumember

Female Posts : 130
Reputation : 11
Language : English

http://whentheshadowswalk.slovenianforum.com

Back to top Go down

In progress Re: Black and white profile pictures

Post by Draxion on July 29th 2019, 3:01 pm

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%);
}


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as Black and white profile pictures Solved11 when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

Black and white profile pictures Draxio14
Draxion
Draxion
Support Moderator
Support Moderator

Male Posts : 2384
Reputation : 301
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

In progress Re: Black and white profile pictures

Post by MissUrsh on July 29th 2019, 9:00 pm

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

Female Posts : 130
Reputation : 11
Language : English

http://whentheshadowswalk.slovenianforum.com

Back to top Go down

In progress Re: Black and white profile pictures

Post by Draxion on July 30th 2019, 6:00 am

@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?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as Black and white profile pictures Solved11 when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

Black and white profile pictures Draxio14
Draxion
Draxion
Support Moderator
Support Moderator

Male Posts : 2384
Reputation : 301
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

In progress Re: Black and white profile pictures

Post by System32 on July 30th 2019, 10:14 am

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.
System32
System32
Forumember

Male Posts : 93
Reputation : 13
Language : Serbian,English

http://paganism.forumotion.com/

Back to top Go down

In progress Re: Black and white profile pictures

Post by Storyteller of Wonderland on August 7th 2019, 5:47 am

@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!
Storyteller of Wonderland
Storyteller of Wonderland
Forumember

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

http://milanwake.forum2x2.ru

Back to top Go down

In progress Re: Black and white profile pictures

Post by skouliki on August 11th 2019, 2:56 pm

hello

If your request is complete, please mark it as solved
skouliki
skouliki
Manager
Manager

Female Posts : 6975
Reputation : 1020
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum