Replies

Nov 18, 2015 10 years ago
Chansey
caught them all
User Avatar
Bucky

Hi, There used to be a code for a profile which made your whole pet profile blank except from the name, overlay and day of born/adopted. Sadly I lost that profile code and now I'm wondering if anyone as still that code? I found that one fun to use to learn how to code profiles with and I often used it show how I wanted to have a profile.

(I'm not sure if this is the right forum of this and if it's not then I apologize!)

Nov 18, 2015 10 years ago
Adventure Captain
sonata
User Avatar

@ Hawkeye

I don't know about the specific code you're mentioning but it shouldn't be too difficult to whip something up.

You don't even want the basic textbox included?

[edit]

This would be about as basic as it gets. Don't know if what you had before included more selectors to toggle on and off.

<style> , , , , footer, , { display:none; } , { background-color:transparent !important;height: auto !important; }

{ display:none; }

{}

{ display:none; }

{ display:none; }

{ display:none; }

{ display:none; } </style>

Art by
[tot=sonata]

Nov 18, 2015 10 years ago
Chansey
caught them all
User Avatar
Bucky

Thank you and yes it looked something similar like that but I have found the profile code I meant. I have send you something little as thank you for helping me :) [edit] Do you maybe know how I can move the heart (the like button) and how I can make the overlay and TC turn into greyscale until you hover over it, the colors come back?

Nov 18, 2015 10 years ago
Adventure Captain
sonata
User Avatar

That's great. It's probably more user friendly anyhow. Mine was thrown together in about 5 seconds. ;) Thank you a lot for the gifts btw. Much needed morostide items since I was stupid enough to hiatus during holiday season. xD

The heart responds to .pet_like and you can finds codes for greyscale here :)

Art by
[tot=sonata]

Nov 18, 2015 10 years ago
Chansey
caught them all
User Avatar
Bucky

You're welcome :) I have a lot of morostide left-overs of this year so I thought I send you some as thank you. I'm glad you liked them. I tried the grey scale one but is it also possible to make it only grey when you hover over it? I have only the code now that makes it stays grey without hovering.

Nov 18, 2015 10 years ago
Adventure Captain
sonata
User Avatar

Lucky you. ;) But really, thank you. I appreciate them a lot. :D

If you want it to only be on hover you want to apply the filter to the hover state instead. Like so:

:hover { -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */ filter: grayscale(100%); }

And if you want it to be a smooth hover you can do something like this:

{ transition:filter 2s; -webkit-transition:-webkit-filter 2s; }

:hover { -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */ filter: grayscale(100%); }

Art by
[tot=sonata]

Nov 19, 2015 10 years ago
Chansey
caught them all
User Avatar
Bucky

Thank you again :) You're such a big help and learning me so much. I wouldn't have been able to figure this out on my own.

I do have one more question if that's alright. If I want to apply this also on the TC, does it work the same and do I have to replace with instead?

Nov 19, 2015 10 years ago
Adventure Captain
sonata
User Avatar

My pleasure. :)

Yes it would work the same way. For the treasure I'd say it depends on if you want the entire tc to hover at once or if you want each item to change on its own. So you would either use (full tc) or .treasure_item (single items) as the selector. ^^

Art by
[tot=sonata]

Nov 19, 2015 10 years ago
Chansey
caught them all
User Avatar
Bucky

I wanted to each item change on its own and I just tried to change the codes which worked! Thanks again for all your help :) I appreciate it a lot!

Nov 19, 2015 10 years ago
Adventure Captain
sonata
User Avatar

@ Hawkeye

Awesome. :) And it really was no problem. I even learned something. I wasn't aware that css filters now work in firefox too. Also thank you for the second giftbox. Much appreciated. :D

[edit]

And man I'm just raking in forum points on this thread. 3 in total.

Art by
[tot=sonata]

Nov 19, 2015 10 years ago
Chansey
caught them all
User Avatar
Bucky

That's great it learned you something as well! I didn't know that either. I always use Safari but I used have Firefox which didn't always work so well. You're welcome! I saw you needed those items :)

Nov 19, 2015 10 years ago
Adventure Captain
sonata
User Avatar

Yeah they used to be wekbit only (chrome and safari) so it's great to see that they finally work in firefox too. ^^

Art by
[tot=sonata]

Nov 19, 2015 10 years ago
Chansey
caught them all
User Avatar
Bucky

I think that's because Firefox is starting to get more popular. More people are using it so maybe that's why they changed it :)

Please log in to reply to this topic.