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!)
@ 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>
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?
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 :)
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.
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%); }
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?
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. ^^
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!
@ 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.
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 :)