Jump to content
Sign in to follow this  
Singular

Styling images in Promotion Spuds using CSS

Recommended Posts

I have a test page with a couple promotion spuds. 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?

 

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 and unfortunately what you are attempting to do outside of Trumba and styling your CSS is unsupported.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...