Many of you know that default Photo Module is so boring. No Standard thumbnail size, no image effects, no hover effect etc. Don't worry, whether you like it or not but I have an idea to make your Photo Module feel much more dynamic and alive. It used to be the case that JavaScript was required to do anything really interesting with a hover effect but these days CSS3 is capable of doing a ton of really cool stuff if you’re creating enough.

Live Demo

Example

Now what to do? Simply copy and paste the following code into Advanced CSS via my network.

 

.module_photo .body_list .clist img {
width: 125px;
height: 102px!important;
-moz-box-shadow: 3px 3px 4px #999; /* Firefox */
-webkit-box-shadow: 3px 3px 4px #999; /* Safari/Chrome */
box-shadow: 3px 3px 4px #999; /* Opera and other CSS3 supporting browsers */
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#999999')";/* IE 8 */
: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#999999');/* IE 5.5 - 7 */

}

.module_photo .body_list .clist img:hover {
-webkit-transform: rotate(-7deg);
-moz-transform: rotate(-7deg);
-o-transform: rotate(-7deg);
}

-------------------------------------------------

Please consider the environment before printing this content.




Tags: css, css3, effect, hover, image, module, photo, size, thumbnail, trick

Views: 935

Reply to This

Replies to This Discussion

Nice!

Nice! I wander if you can do this on the photo section.

Please check it here

div.bd div.ib a img.xg_lightborder, .module_photo .body_list .clist img {
width: 125px;
height: 102px!important;
-moz-box-shadow: 3px 3px 4px #999; /* Firefox */
-webkit-box-shadow: 3px 3px 4px #999; /* Safari/Chrome */
box-shadow: 3px 3px 4px #999; /* Opera and other CSS3 supporting browsers */
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#999999')";/* IE 8 */
: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#999999');/* IE 5.5 - 7 */

}

div.bd div.ib a img.xg_lightborder:hover, .module_photo .body_list .clist img:hover {
-webkit-transform: rotate(-7deg);
-moz-transform: rotate(-7deg);
-o-transform: rotate(-7deg);
}

i added it to main photos page too

Hi Soaringeagle,

Are those the right classes for old editor? Because we don't need div.bd div.ib a img.xg_lightborder in order to show these effects.

Unfortunately I'm no longer using Old editor and I can't test it. 

im not either no those are the classes to apply it to the main photo page as well

Nice

Thank you all.

Hi Trocar,

It sounds like you are using New Design Studio and  "The character limit of 15000 has been exceeded".    If this is the case then please remove the codes which are not important and try again.


Best Wishes 

Bernard

It didn't do a thing for me.  Using Chrome and the old appearance editor. :(

Hey Diana,

I'm not sure about the old editor. I will check it once and let you know.

Does not work in Firefox in old editor either :(

RSS

Latest Activity

Riccardo Rossini replied to Riccardo Rossini's discussion 'problem in redirecting NING 3.0'
3 hours ago
Mandy P. replied to Mandy P.'s discussion 'Remove unwanted space-Header'
"thanks a bunch..that helps!"
4 hours ago
Aaron replied to Aaron's discussion 'Ning Spring Cleaning Begins This Week'
"Hi everyone, Just a quick note to let you know that this spam cleanup is complete. That said, you…"
6 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Check it out. I hovered both images, made 2 screen shots (just to capture the hover tip) and placed…"
6 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"I'm thinking it has something to do with caching. I just inspected the header, and I see 2…"
6 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Fire-Tech, You guys have given me major relief, just to know it's not something unique on my…"
6 hours ago
Fire-Tech replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Same thing here. All of the same issues...in FF and Chrome, but not as bad in Chrome."
8 hours ago
Kos replied to Kos's discussion '3.0 My Thoughts From A Non-Coder (edited 5/20/13)' in the group The Sandbox
"Edited to add a menu layer suggestion [used the Galaxy SIII]"
8 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service