WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 9 months 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?

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

  2. Archetyped
    Member
    Plugin Author

    Posted 9 months 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
    ɹoʇɐɹǝpoɯ
    Posted 9 months 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
    Member
    Plugin Author

    Posted 9 months 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
    ɹoʇɐɹǝpoɯ
    Posted 9 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.