WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] Trying to use custom CSS and "@import_url" (4 posts)

  1. taeke63
    Member
    Posted 1 year ago #

    Hi

    I am trying to customise my WPPA slideshow a bit. Want to add a background image, but this can't be done.

    To prevent from having to copy all my changes every time a new version of the plugin appears, I thought to be clever, and create a copy of the "wppa-style.css" in my custom theme and use

    @import url("../../plugins/wp-photo-album-plus/theme/wppa-style.css");

    Followed by custom CSS.

    However, WPPA keeps trying to load the original CSS-file in the plugin folder. Am I doing something wrong? Is there a workaround?

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Make a copy of your wppa-style.css and put it in your theme directory.
    If wppa+ finds it there, that copy is loaded, and not the one in the plugin directory.

    Modify the copy in the theme directory, and it will not be overwritten at an update.

    For more info see: http://wppa.opajaap.nl/customizing-wppa/modifying-css/

  3. taeke63
    Member
    Posted 1 year ago #

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    However, WPPA keeps trying to load the original CSS-file in the plugin folder

    You may put an empty ( dummy ) file in your theme dir. This will satisfy wppa+

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic