Riley
New Member
Posts: 22
inherit
176888
0
Aug 29, 2014 10:59:57 GMT -8
Riley
22
February 2012
notalice
|
Post by Riley on Nov 19, 2013 11:59:52 GMT -8
Hi! I hope I'm not posting this in the wrong place, but I never seem to know where to post things anymore. I've been looking through the plugin library trying to find a plugin that does this: >>site<< - I'm referring the the mini profile. The roll over image thing. I'm not sure whether this is a plug in or simply some sort of code thing that can be added into the layout templates for different themes. If anyone knows where I can find how to make this roll-over effect please link me to it! Thanks guys! edit: I've tried downloading the original theme from the theme library and the mini profile thing isn't on there, so it's clearly something different the site makers on the link above added themselves.
|
|
#00AF33
14306
0
1
Sept 8, 2023 8:54:17 GMT -8
Jordan
What is truth?
11,838
October 2003
jab2
|
Post by Jordan on Nov 19, 2013 13:25:54 GMT -8
It's a CSS3 property called transition-duration used in conjunction with the opacity property.
You can stick this CSS in your Global Headers to see a basic example.
But that will completely hide the mini-profile, so you will most likely need to go into your Mini-Profile Layout Templates under Structure > Layout Templates > Mini-Profile, and add an inner div (add the red) to the mini-profile so the border and any background images you add stay visible.
And then add the red to CSS I gave above.
Let me know if you have any questions.
|
|
Riley
New Member
Posts: 22
inherit
176888
0
Aug 29, 2014 10:59:57 GMT -8
Riley
22
February 2012
notalice
|
Post by Riley on Nov 19, 2013 17:02:04 GMT -8
Oh wow! That's awesome and really simple! I was expecting it to be something massively complex. Can I ask - you mentioned 'so the border and any background images you add stay visible'... how do I go about adding a background image? Thanks for the help This code looks great.
|
|
#00AF33
14306
0
1
Sept 8, 2023 8:54:17 GMT -8
Jordan
What is truth?
11,838
October 2003
jab2
|
Post by Jordan on Nov 19, 2013 20:27:31 GMT -8
Are you wanting the same background for everyone, or a different background for each user? Edit: I assumed you'd want different backgrounds for different users, so I made a plugin which allows you to easily set a color and background image for each user. Let me know if it works for you and if you find any problems with it. I've barely tested it. Mini-Profile Backgrounds
|
|