Replies

Mar 22, 2012 14 years ago
Junior Archaeologist
Whovian_986
User Avatar

I'm sorry if there's a forum already made for this--I tried a Google search, but nothing from Subeta came up, so I had to ask: Is it possible to use a hover code for the profile background itself? What I mean by that is this: is it possible to have one background image that changes to something else when you hover your mouse over a certain area? I feel like I've seen it done before, but that could very well be a trick of my memory. Anyway, any help would be appreciated. c:

Mar 23, 2012 14 years ago
Silverfish
is a survivor
User Avatar
Xingese

Not sure if you can do it with the 'body' part of the coding itself, but nothing stops you from putting the background image in a separate div and setting a hover for it. Or, if the whole thing is not supposed to be hoverable, putting yet another div on top of that the size of hover area you want and set it's hover to be the real bg's double.

At least that's what I would try out in the first place, but then I tend to go about doing things in a weird, roundabout ways and forget semi colons in the process. Let's just ask the expert here...

Art by p-sebae ❤️
| | -Night Mode- Shengui Guo Custom CSS [v2.0]

Looking to adopt a December 31st, 1969 glitched date pet

Mar 23, 2012 14 years ago
Tilcara
is a sun worshipper
User Avatar

Is it the whole background that changes or just a part of it ? If it's just a part, you can just make an addiitonal div with the part you want to change and set it so that it changes at hovering. If you want to change the whole background, you can set a background to the content div, make it transparent and then full opacity at hovering.

Mar 24, 2012 14 years ago
Hongske
is lost in space
User Avatar

: Like the others have said before me, it depends on what you really want. Do you want part of the background to change? Or do you want the whole profile background to change if you hover over a small piece of the profile?

Mar 25, 2012 14 years ago
Junior Archaeologist
Whovian_986
User Avatar

Thank you guys so much for your help! C: Also, Tilcara, HOLY CRAP I LOVE YOUR HA. "Count the shadows! For God's sake, count the shadows!"

Anyway, I'm thinking just a part of the background. I'm working on a picture of my pet that'll take up about half the profile. Originally I was thinking the whole background would change if you hovered over a certain part, but I think I like the idea of just overlaying a second image in a div. c:

Please log in to reply to this topic.