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.
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?
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?
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).