Tagged: x
-
AuthorPosts
-
August 13, 2016 at 1:30 pm #1130081
yhshin1020ParticipantHey,
I am using VC addon plugin and i would like to change the fonts of one of their elements.
Thanks
August 13, 2016 at 1:34 pm #1130082
yhshin1020ParticipantThis reply has been marked as private.August 13, 2016 at 10:43 pm #1130400
Rue NelModeratorHello There,
Thanks for writing in! Before you can use the font family, you must load it first. In your custom css, you can do this:
@font-face { font-family: 'myriad-set-pro_thin'; src: url('http://www.guidedogssg.com/wp-content/themes/x-child/fonts/myriad-set-pro_thin (1).eot'); src: url('http://www.guidedogssg.com/wp-content/themes/x-child/fonts/myriad-set-pro_thin (1).eot?#iefix') format('embedded-opentype'), url('http://www.guidedogssg.com/wp-content/themes/x-child/fonts/MyriadSetPro-Thin.woff') format('woff'), url('http://www.guidedogssg.com/wp-content/themes/x-child/fonts/myriad-set-pro_thin (1).ttf') format('truetype'), url('http://www.guidedogssg.com/wp-content/themes/x-child/fonts/MyriadSetPro-Thin.svg') format('svg'); font-weight: normal; font-style: normal; } .x-navbar .desktop .x-nav>li>a>span { border: none !important; color: #000 !important; font-family: 'myriad-set-pro_thin'; }You have to make sure that it is in this order or else the font will not take effect.
https://community.theme.co/forums/topic/custom-font-2/#post-142444
https://community.theme.co/forums/topic/how-do-i-add-my-own-font-and-use-everywhere/#post-56415Hope this helps. Kindly let us know.
August 13, 2016 at 11:15 pm #1130422
yhshin1020ParticipantThis reply has been marked as private.August 14, 2016 at 2:37 am #1130540
ChristopherModeratorHi there,
Please add this code:
.mpc-icon-column__description.mpc-typography--mpc_preset_1 p ,.mpc-testimonial__description{ font-family: 'myriad-set-pro_ultralight'; } .mpc-accordion__item h3 { font-family: 'myriad-set-pro_ultralight' !important; }Please enable ‘Marginless columns’ option for third content band.
Hope it helps.
August 14, 2016 at 5:29 am #1130671
yhshin1020ParticipantThis reply has been marked as private.August 14, 2016 at 5:46 am #1130690
ChristopherModeratorHi there,
Font has changed successfully, see the attachment.
You can also change body font by adding following code :
body{ font-family: 'myriad-set-pro_ultralight'; }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1130081 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
