Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #816236

    I would just like to change the font on my image captions to a google font named Anton, maybe make it a bit larger but definitely keep it centered. I’m just not sure what code or shortcode to put into the custom css class box to make this happen. Thanks!

    #816286

    Hey mikeb882,

    Please post a link to your site and point out the element that you would like to change. Did you register the Google font already? If not then please refer to this: http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/

    Best regards,
    Rikard

    #816538

    http://a05.be9.myftpupload.com/ is the temp site. The four images at the bottom of the page have captions to which I want to adjust the font somehow through the custom css class box. The Anton font is part of the google fonts plugin and appears on the page already.

    #816544

    Hi,

    The font can be imported via quick css. Have you added the following to the top of quick css:

    @import url('https://fonts.googleapis.com/css?family=Anton');

    Then add the proper font style

    .flex_cell_inner .avia-image-container p{
    font-family: 'Anton', sans-serif;
    }

    This should be all you need.

    Best regards,
    Jordan Shannon

    #816672

    Thanks Jordan!

    #816677

    Hi,

    We’re happy to help! :) We’ll close this thread now. If you have any other questions or issues, feel free to post them here on the forum and we will gladly try to help you.

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/

    We’d also appreciate it if you can take a moment to review our theme if you haven’t already. https://themeforest.net/downloads

    Thank you for using Enfold.
    Cheers!
    Sarah

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Changing font on image caption using custom CSS class’ is closed to new replies.