Xpro - shortcode as text with google font

Hello,

I’m working with a promo box and i’d like inside the “content” section to have a custom header with some google font selection. Is there a shortcode that I can use for entering the header text with the specific google font i want to use? The specific font is called “anton”…

Thank you

Hello @FXGround,

Thanks for writing in!

You can achieve what you have in mind by utilizing the custom headline shortcode. You can check it here:
http://demo.theme.co/integrity-1/shortcodes/custom-headline/

And lastly, insert the following custom css in the settings tab, Settings > Custom CSS

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

.x-promo-content .h-custom-headline {
    font-family: 'Anton', sans-serif;
}

We would loved to know if this has work for you. Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.