WordPress.org

Forums

Simple Lightbox
[resolved] lightbox.css (9 posts)

  1. tokar86a
    Member
    Posted 2 years ago #

    Do you think i can include this in my theme?

    http://wordpress.org/extend/plugins/simple-lightbox/

  2. Archetyped
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for asking! As long as your theme is GPL-compatible, you can use SLB's code in any way you wish :)

  3. tokar86a
    Member
    Posted 2 years ago #

    How do i know that?

  4. Archetyped
    Member
    Plugin Author

    Posted 2 years ago #

  5. tokar86a
    Member
    Posted 2 years ago #

    But still how do i know if my theme is that?

  6. tokar86a
    Member
    Posted 2 years ago #

    This is the theme i use: http://themeid.com/responsive-theme/

  7. Archetyped
    Member
    Plugin Author

    Posted 2 years ago #

    Apologies for the confusion, I was answering your question in the context of a theme developer/designer wanting to use code from SLB.

    You can use SLB's CSS for private use in your theme however you wish. However, this may not be the best way to proceed depending on what you want to accomplish as SLB has it's own theme engine that is separate from WP themes.

    Can you provide a bit more detail on what you'd like to do? I'd be glad to recommend an approach that will best meet your needs.

  8. tokar86a
    Member
    Posted 2 years ago #

    I wont to cute down on request so i wont to include the info in the theme style.css file.

  9. Archetyped
    Member
    Plugin Author

    Posted 2 years ago #

    Even if you add SLB's CSS to your theme's CSS, the theme files for SLB will still be loaded separately unless you also created a new SLB theme that loaded no CSS of its own.

    An alternative option is to look into using a caching plugin that will automatically merge and compress a page's styles into a single request.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.