Tagged: x
-
AuthorPosts
-
October 28, 2016 at 11:29 am #1234936
ccwadsworthParticipantHello X!
I’m trying to modify the font, color and size in a custom headline.
I was following some of your references in this post: https://community.theme.co/forums/topic/how-to-change-font-familysize-in-text-or-custom-headline/
I have added the following into my Child Theme Editor
@import url(‘https://fonts.googleapis.com/css?family=Great+Vibes’);I have added the following into Custom CSS (note: I’m not sure how to list the 2-word font – space, underscore, plus sign?)
.GreatVibes {
font-family: ‘Great Vibes’ !important;
font-style: normal;
font-weight: 600;
}Here is the custom headline shortcode I’m using:
[x_custom_headline type=”center” level=”h1″ looks_like=”h1″ accent=”false”]Always Extraordinary[/x_custom_headline]I have added the style and class (attached)
But nothing is changing…
Can you tell me what I’m missing? I would like the font size to be much larger too. Appreciate your help!
October 28, 2016 at 11:30 am #1234939
ccwadsworthParticipantThis reply has been marked as private.October 28, 2016 at 4:37 pm #1235293
Nabeel AModeratorHi there,
Thanks for writing in! Instead of giving “GreatVibes” class to the Text element, give it to the custom headline. This should fix the issue.
Let us know how this goes!
October 29, 2016 at 12:27 pm #1236014
ccwadsworthParticipantCould you show me what you mean by that? And could you also show me how to increase the font size within the shortcode? Thank you!
October 29, 2016 at 5:31 pm #1236202
Nabeel AModeratorHi again,
I went ahead and removed the
GreatVibesclass from your Text element and added to the shortcode. It’s working fine now. please check. To increase the font size of the custom headline just replace your code with this:.GreatVibes { font-family: 'Great Vibes' !important; font-style: normal; font-weight: 600; font-size: 70px; }Adjust the font-size as per your need.
Cheers!
October 30, 2016 at 4:30 am #1236496
ccwadsworthParticipantMany thanks! Appreciate your help!
October 30, 2016 at 4:43 am #1236509
ChristianModeratorYou’re welcome. Glad we could help. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1234936 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
