• Resolved YOELO

    (@yoebo)


    Hi, this plugin worked straight out of the box brilliantly and I’ll be giving my review shortly.

    I was wondering if there’s a way to add a margin around the lightbox or 90%width as when I’m viewing on my mobile/Blackberry the picture butts right against the sides forcing you to use the top-right x to click out of the view instead of clicking somewhere else on the page to close it.

    https://www.ads-software.com/plugins/simple-lightbox/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter YOELO

    (@yoebo)

    And also I’d like to get rid of the Google Fonts.

    I’ve tried changing

    $scheme://fonts.googleapis.com/css?family=Yanone

    In

    simple-lightbox/includes/class.themes.php

    to Arial but the plugin still loads the Google font.

    Plugin Author Archetyped

    (@archetyped)

    Hi, SLB’s default themes are fully responsive and fill the view on mobile devices to provide as much space for the image.

    However, the lightbox’s appearance can be fully controlled with custom themes. Child themes are also supported so that you only have to make small changes to make an existing theme your own.

    Here’s a tutorial on creating your own custom theme, and here’s a guide on customizing theme styles.

    Thread Starter YOELO

    (@yoebo)

    Yes that’s my problem it fills the screen so you have to push the little x button that isn’t very clear.

    Do I have to use another theme or could I simply edit the default theme?

    Plugin Author Archetyped

    (@archetyped)

    Hi, editing a default theme is not recommended as any future updates to SLB will overwrite your changes.

    Creating a child theme allows you to modify an existing theme as much as you want to without worrying about losing those changes.

    Thread Starter YOELO

    (@yoebo)

    It’s OK I’ll make a backup. What file could I edit to remove Google fonts from the default theme?

    Plugin Author Archetyped

    (@archetyped)

    Hi, the fonts are not removable from the default theme, but you can use the baseline theme (slb_baseline) as a starting point instead (it does not load any specific fonts).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Viewport Width’ is closed to new replies.