Simple Lightbox
[resolved] Custom lightbox theme (5 posts)

  1. cubecolour
    Posted 2 years ago #

    Are there any instructions/tutorial/outline anywhere on adding a custom themes to use instead of the default dark & light themes for the lightbox?


  2. Archetyped
    Plugin Author

    Posted 2 years ago #

    New themes and resources for creating custom themes are coming soon.

    Keep an eye out for updates on Simple Lightbox's official page or get notified about updates by subscribing to the RSS feed or mailing list.

  3. cubecolour
    Posted 2 years ago #

    Thanks for the reply. What I am looking for is any information you can give about adding a custom theme. Is it a matter of copying the default theme and editing it? If so where should the copy go where the plugin can pick it up instead of the default theme where it will not be wiped out on updating the plugin.

    The main tweak I want to make is for the text in the lightbox to use the default webfont used in my site.

    It is easy enough to override the lightbox css in the WP themes css – which I have already done, however the lightbox's default theme looks like it will still load webfont files for 'Yanone Kaffeesatz' from google fonts which will not be used anywhere on the site.

    My goal is to define a theme where this unused font will not be called at all. Is this possible? If so, are there any brief clues you can provide until the planned documentation is ready?

  4. Archetyped
    Plugin Author

    Posted 2 years ago #

    Yes, creating custom themes for SLB is possible and they can even be based of another theme ("child themes")

    The API for third-party themes is currently being finalized and then documentation/tutorials will be released to allow anyone to create custom themes for SLB.

    Until then, here is some information on the Theme API from an earlier beta version, though things have changed since then.

  5. cubecolour
    Posted 2 years ago #

    many thanks, that looks like it should help me put something together until your documentation is ready. Much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic


No tags yet.