Jump to content
Sign in to follow this  
hopeofglory

Custom CSS not taking precedence

Recommended Posts

hopeofglory

Hi I downloaded a slidedeck widget and added it to my site. I added the following CSS code in the custom code but the page isn't loading with it. It shows up as crossed when viewed with firebug. CSS: .skin-slidedeck-classic { border:14px solid #353535; } Thanks

Share this post


Link to post
Share on other sites
hopeofglory
Also can I get a slide widget similar to this http://accordionpro.nicolahibbert.com/example-2/ Thanks

Share this post


Link to post
Share on other sites
batman
You can try add in PageLines > Site Options > Custom Code > CSS Rules First [code].skin-slidedeck-classic { background: url("back.png") repeat scroll 0px 0px rgb (55,55,55); border: none; }[/code] Second [code].skin-slidedeck-classic dl.slidedeck > dd {border-right: 5px solid rgb (55,55,55);}[/code] I??m a newbie and I??m not sure to the second, neither the first, but you can prove. ;)

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
catrina
@hopeofglory Try batman's solutions and if they don't accomplish what you're looking for, please let us know.

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
bxbmedia
Your css rules are not taking precedence because the plugin's css is loading after yours and has the same specificity ([url="http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-understanding-css-specificity/"]see here for more info on specificity from NetTuts[/url]). Try modifiying the css you are trying to add like so: [code].slidedeck_widget .skin-slidedeck-classic { background: url("back.png") repeat scroll 0px 0px rgb (55,55,55); border: none; }[/code]

gl hf

Share this post


Link to post
Share on other sites
hopeofglory
Thanks all for your replies. Bxbmedia CSS did the trick :)

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  

×