[Plugin: Shadowbox JS] How to use own CSS file
-
Hi there,
I read in the plugin FAQs that I need to add the following to my theme’s functions.php file in order to use my own CSS file for Shadowbox:
function custom_shadowbox_css($url) { return get_bloginfo('stylesheet_directory') . '/css/shadowbox.css'; } add_filter('shadowbox-css', 'custom_shadowbox_css');
That is done. But I’m afraid I do not know where I need to save my new stylesheet for it to be picked up. Or do I need to edit the code above for my needs?
Thanks in advance for any help you can offer.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: Shadowbox JS] How to use own CSS file’ is closed to new replies.