Forums › Forums › Slimbox2 plugin › Changing slimbox2.css
- This topic has 3 replies, 3 voices, and was last updated 15 years, 6 months ago by malcalevak.
-
AuthorPosts
-
April 24, 2009 at 7:54 pm #771go4valueMember
Hi,
First and foremost, thanks for the great plugin.
I tried to change the font size of the image title being displayed by WP-Slimbox2 inside the stylesheet slimbox2.css. But, the font size doesn’t change at all. Likewise, other changes made to the css file doesn’t seem to have any effect. May I know is it possible to change at all?
There’s widget on my sidebar that shows a video box. Somehow, the image displayed by WP-Slimbox2 was partitally blocked by this video box. May I know is there anything I can do to overcome this? Can I change the slimbox2.css so that the display block is being shown higher up the screen? Pls visit http://www.hoodia-weightloss.net/gallery and click on the photo to see what I mean.
Thanks in advanced!
Jon
April 25, 2009 at 5:38 pm #5976malcalevakModeratorThese are very good questions, unfortunately I can’t actually answer them for you.
The slimbox2.css the plugin utilizes (aside from a few minor tweaks), and in fact the entire slimbox2.js script, were created by Christophe Beyls[/url:25lvu1b9]. You’ll need to ask him questions related to those aspects.
If I was better with css I might be able to help, but I’m not. Hopefully you can get the answers you need there. Please post what you find out here.
April 30, 2009 at 2:21 pm #5977monodistortionMemberIt doesn’t look like you’ve changed the CSS at all. Are you changing this file?
http://www.hoodia-weightloss.net/wp-con … imbox2.cssThe image title section is at the bottom here:
[code:b5lzsi8r]#lbCaption {
font-weight: bold;
}
[/code:b5lzsi8r]The problem with the flash object is a little more complicated. Flash objects normally float on top of everything unless they’re set to wmode="opaque" or wmode="transparent". See here for more technical details:
http://www.communitymx.com/content/arti … ?cid=e5141
http://kb.adobe.com/selfservice/viewCon … &sliceId=1Christophe Beyls is smart and made Slimbox2 hide flash objects when the lightbox appears so normally it avoids this problem.
http://www.digitalia.be/software/slimbox2Your widget is tricky though because it creates an iframe and then puts the YouTube playlist inside that, so that flash object isn’t hidden properly. If you look closely you’ll see that the "Get Widget" part does disappear. That part is not inside the iframe.
The only solution is to ask the widget makers to fix their code:
http://www.widgetbox.com/widget/youtube-sidebar
or use something else to show your videos.May 1, 2009 at 11:12 pm #5978malcalevakModeratorI’m not sure why I bother checking the forums anymore, you’re doing most of the work for me
Now I can spend more time working on the plugin, thanks. -
AuthorPosts
- You must be logged in to reply to this topic.