• Resolved helenes13

    (@helenes13)


    Hello
    I use SLB but the native font is …well…not my cup of tea. I have tried to find in the support pages how to change it. Complicated to find, messy and impossible to understand for me.
    I have supposed that some CSS added to the global custom CSS of my theme should work, but I probably did not find the correct way to write it. This is what I have tried :

    lightbox p {
    font-family: "Cormorant Infant";
    }

    or
    `simple-lightbox p {
    font-family: “Cormorant Infant”;
    }
    Could you please tell me what I shoul do ?
    Thanks in advance

    • This topic was modified 4 years, 2 months ago by helenes13.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter helenes13

    (@helenes13)

    Found with the help of a previous post. It may help others :

    #slb_viewer_wrap .slb_theme_slb_default .slb_data_title,
    #slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
    	font-family:’Cormorant Infant’, serif !important;
    	font-size:18px !important;
    }
    #slb_viewer_wrap .slb_theme_slb_default {
    	font-family:"Cormorant Infant"!important;
    	font-size:15px !important;
    }

    But I also think the creator of the plugin should improve his documentation or the plugin itself because the problem shows since a long time… Anyway, thanks for the free version.

    Plugin Author Archetyped

    (@archetyped)

    Hmm, strange, can you provide more detail on where you ran into issues with SLB’s documentation?

    Searching for “css” or “style” in SLB’s documentation brings up the Themes documentation page (also listed in the documentation’s main menu).

    The Themes documentation contains links to a series of tutorials on creating and customizing the lightbox theme, including one titled “Customizing Theme Styles“, with a description, “Use CSS to customize the lightbox’s appearance.”

    That tutorial lays out all available CSS selectors to customize every element in the lightbox, from the most broad (e.g. the entire lightbox), to very specific selectors (e.g. a specific lightbox element).

    That said, I would be happy to update the tutorials if something is not clear, so please let me know specifically where you ran into issues with the tutorial.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SLB can’t custom text font’ is closed to new replies.