• Resolved shabik

    (@shabik)


    Hi. I have set Cardo/Cinzel to be the fonts but for some reason, it does not apply to nextgen gallery captions. I find that the captions are called sl_captions but how would I change them so they are both italic but also change the font to Cardo?

Viewing 1 replies (of 1 total)
  • gabyimagely

    (@gabyimagely)

    Hi @shabik

    Yes, you should be able to edit the styling of those captions by using the “sl_caption” CSS selector.

    First of all, you will need to import that font into your site.
    You can do that using font-face https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face

    After you have double check that your site is loading the font family, you can apply the name of the font to the CSS selector.

    .sl-wrapper .sl-image .sl-caption{
    font-family: “nameofyourfont” !important;
    }

    You can try the CSS code without the “!important” and check if that works for you. Please, Keep us posted.

    – Gaby, Customer Support.

Viewing 1 replies (of 1 total)
  • The topic ‘Change font to captions’ is closed to new replies.