Jump to content
Sign in to follow this  
Singular

Styling images in promotion spud using css

Recommended Posts

Hi all,

I have a test page with a couple promotion spuds: http://www.asingularcreation.com/test.php

 

Using Chrome I can right click any of the images in the spud to inspect element and get the class name for the images, which is img.twPhotoScaled. I have added a style to my page:

/*trumba thumbs*/
img.twPhotoScaled { 
-webkit-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5) !important;
-moz-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5) !important;
box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5) !important;
}

When I change the style in Chrome using the inspect element tool and doing it inline, it works fine. However, when I actually add the style to my file, it does not work. Is there something I can do to get this to work?

thanks,

Joe

 

Share this post


Link to post
Share on other sites

Are you trying to apply the CSS style to the Javascript on the page? Any styling to the Trumba spuds/widgets you will need to set within the Trumba interface.

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  

×