Jump to content
Sign in to follow this  
jamiewalden

Video thumb CSS for rollover shadow

Recommended Posts

jamiewalden

Hey guys, I'm trying to place some thumbnails that link to videos and i really like how it's done on the pageslines site (particularly the demo image links). What would i do to replicate that dropshadow effect upon rolling over a thumb? Also, i'd like the video to appear in a lightbox, any suggestions on plugins or ways to make that happen. Thanks in advance for you guidance. I appreciate it. Here's a link to the site, but i don't have anything started on the videos: http://blogstage.americandatanetwork.com

Share this post


Link to post
Share on other sites
catrina
Where are these thumbnails you mention (I can't seem to find them - or I'm just looking at the wrong thing)? There is a Lightbox type plugin for videos called Shadowbox: http://wordpress.org/extend/plugins/shadowbox-js/

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
jamiewalden
They are on the Pagelines homepage. They are the Platform Pro links on the left that say "Watch the Video" and "View the Demo." http://www.pagelines.com/

Share this post


Link to post
Share on other sites
jamiewalden
I'll also need to know how to place images horizontally like that as i'm not much of a coder. Thanks.

Share this post


Link to post
Share on other sites
catrina
The CSS property used to create the shadow is: [code]box-shadow: 0 1px 3px #DDDDDD;[/code] Which images on your site do you plan on applying this effect to?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
jamiewalden
I haven't put them on there yet. Is this the CSS class (?) i should create for the shadow to appear on rollover? Thanks, Catrina, for your help. I very much appreciate it.

Share this post


Link to post
Share on other sites
Jenny
The code @catrina mentioned above goes into your Custom Code -> Custom CSS box.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
jamiewalden
Ok, I got the shadow and hover shadow working. Now how would i align images and text horizontally like is done on the Pagelines.com homepage so that it's Image Text Image Text. That make sense?

Share this post


Link to post
Share on other sites
catrina
Are you referring to the smaller screenshots of themes displayed at the bottom of the Pagelines homepage?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
jamiewalden
No, the one's featured here in this image: http://blogstage.americandatanetwork.com/wp-content/uploads/2011/11/Screen-shot-2011-10-31-at-11.13.49-PM.png

Share this post


Link to post
Share on other sites
Danny
Hi Jamie, You should use firebug and see how the code is structed. That way you get the general idea and you can see the CSS used too.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jamiewalden
I use Inspect Element on Chrome. Is that the same? Problem is, I don't know completely what I'm looking at as i'm not a coder. :|

Share this post


Link to post
Share on other sites
Rob
I suspect that it's something like the coding we have for that demo link: [code].demo-link:hover img { -moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: #DDDDDD #AAAAAA #AAAAAA #DDDDDD; border-style: solid; border-width: 1px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }[/code] Again, I'm not sure this is what you're looking for. But it's the CSS for the hover action on that thumbnail.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×