• Resolved Paintstripper

    (@paintstripper)


    In the old version, CSS was put in the theme folders. In the latest version, I can’t seem to do this, and have tried the wp-content/ngg_styles folder, and the nextgen admin options does not have the style editing menu available. How can I add different nextgen gallery css to each site in a multisite install? I’d preferably like to do this via FTP in each theme folder.

    https://ww.wp.xz.cn/plugins/nextgen-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @paintstripper – Although you can expect a message in the dashboard saying it is not update safe, you should be able to add a custom style sheet under each theme’s folder for theme specific custom CSS, for example:

    ../wp-content/themes/<specific-theme>/nggallery.css

    – Cais.

    PS: Another more involved option is to add a theme-name class to the <body> tag and then add the custom CSS using that specificity in a “site-wide” stylesheet.

    Thread Starter Paintstripper

    (@paintstripper)

    I have had the css in the theme folder, and the only way that it works is to put “important!” after each command. If you don’t, then it gets overridden by the css in the ngg plugin folder. As you can imagine, doing this for every css line will be time consuming, and this command is also not guarenteed with all browsers.

    Plugin Contributor photocrati

    (@photocrati)

    @paintstripper – Unfortunately in some cases some of the CSS definitions will need to use the !important directive. Perhaps custom CSS with a strongly specificity will work in place of using the !important directive?

    – Cais.

    Hi there,

    I’m having a similar issue on Multisite. I’ve finally been able to load my custom stylesheets in the “Other Options” area, but whether I put my styles (I’m using the correct CSS selectors AND !important statements), NONE of them activate!!! The default styles ALWAYS overwrite, and whether my new styles are in the ngg_styles folder or in the theme’s main stylesheet itself, they’re never used.

    How can I overwrite the default styles?? Thank you!!

    Plugin Contributor photocrati

    (@photocrati)

    @gaswirth – Please start your own topic so we can try to help you with your specific issue on your specific site.

    See http://codex.ww.wp.xz.cn/Forum_Welcome#Where_To_Post

    Thanks!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘NextGen Gallery CSS not working on Multisite’ is closed to new replies.