• Resolved IanW

    (@mikes46)


    Hi,
    I posted this yesterday but my post has been marked as resolved, hence reposting.

    I would like to know if it’s possible to change the font of the “alt & title text/description”, not the text size.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mihai-imagely

    (@mihaiimagely)

    Hi @mikes46,

    Can you please let us know from which gallery display type or lightbox do you want to change the font family of the “alt & title text/description”?

    NextGen doesn’t provide with such a setting but if the font is already enqueued on your site’s page, I can try to provide you with a custom CSS rule that may help to override the plugin’s default font for that.

    Mihai

    • This reply was modified 2 years, 5 months ago by mihai-imagely.
    Thread Starter IanW

    (@mikes46)

    Hi,

    Thanks for your reply.
    The page is https://www.swallowdale-brundall.co.uk/gallery/

    Thanks.

    Plugin Support gabyimagely

    (@gabyimagely)

    Hi @mikes46

    This is out of our support scope.
    But, I’ll be happy to give you some suggestions.
    You can use one of the available Google Fonts WordPress plugins.
    They will allow you to use any of the free fonts provided by Google.

    Sometimes that changes the fonts of the whole site, but if that doesn’t work for you, you can include the font into your theme using the instructions provided on https://fonts.google.com/

    Example / Using “Fahkwang” to change the text in your Lightbox
    Font: https://fonts.google.com/specimen/Fahkwang?selection.family=Fahkwang

    You can go to Appearance > Customize > Additional CSS
    Copy and paste this code, then click on “Publish”.

    #fancybox-title {
    font-family: ‘Fahkwang’, sans-serif;
    }

    We hope that this helps! Please, keep us posted.

    – Gaby, Customer Support.

    Thread Starter IanW

    (@mikes46)

    I tried adding the code but did not work for me. Thanks for trying.

    Plugin Support mihai-imagely

    (@mihaiimagely)

    Hi @mikes46,

    I am sorry but I’m not pretty sure if the site actually uses that font “Fahkwang” and Gaby provided it just as an example. Can you please alternately try to use this one to see if it will change anything:

    #fancybox-title #fancybox-title-inside {
    font-family: ‘Playfair Display’, serif !important;
    }

    Hope this helps,
    Mihai

    Thread Starter IanW

    (@mikes46)

    Thank you so much.

    Yes this works.

    I should have realized the font was only an example!

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