Changing font size of Photo Title

jedwards986jedwards986 Registered Users Posts: 4 Big grins
I have searched and searched and searched, and everytime I find some line of code that looks like it will do the trick, it never works. Could someone show me how to alter the font size of my photo title and caption? I have included a link below to a picture with the example of how small the title and caption is. Thank you.

https://www.johntedwardsphotography.com/Galleries/North-Carolina/i-22sqhHf/A

Comments

  • AllenAllen "tweak 'til it squeaks" St. Louis, MoRegistered Users Posts: 9,902 Major grins

    Try this

    .sm-lightbox-v2-photo-title-and-caption,
    .sm-lightbox-v2-photo-title-and-caption h2
                   {font-size: 160% !important}
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • jedwards986jedwards986 Registered Users Posts: 4 Big grins

    Perfect! It worked thanks! Just wondering, is there a way to alter the caption and title individually?

  • AllenAllen "tweak 'til it squeaks" St. Louis, MoRegistered Users Posts: 9,902 Major grins
    edited November 16, 2019

    Like this?

    .sm-lightbox-v2-photo-title-and-caption  {font-size: 160% !important}
    .sm-lightbox-v2-photo-title-and-caption h2  {font-size: 160% !important}
    

    Keep in that order. First does both and 2nd only h2 part.
    Any change to 1st does both so have to re-adjust 2nd.

    Al - Just a volunteer here having fun
    My Website index | My Blog
Sign In or Register to comment.