WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
Custom Close button "X" (4 posts)

  1. spacekidlimited
    Member
    Posted 2 years ago #

    Hey, I like the plugin so far it's doing exactly what I need. I just have 1 question so far. I want to replace the existing close "X" with my own close button. I assume if I edit the actual plugin CSS it will get replaced if the plugin updates. I know some other plugins allow you to copy the CSS to your themes folder and then edit it there to avoid any issues. Does fancy-box allow that? Otherwise how would I do that? what code do I need to put on a image to allow it to close the overlay?

    Thanks

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    No, but you could use a plugin like http://wordpress.org/extend/plugins/safecss/ to add your own style rules...

  3. spacekidlimited
    Member
    Posted 2 years ago #

    Or I can just add them in my theme CSS file? I have a custom theme.

    Thank!

  4. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    It is likely that the theme stylesheet gets loaded before the plugin stylesheet so your rules might not make it to the finish line... Unless you add them manually to the end of the head section in header.php :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic