-
AuthorPosts
-
January 7, 2015 at 2:14 pm #178674
Daphne DParticipant1) I was setting up new fonts in the Customizer when the custom logo font froze. It lets me choose different fonts, but never looks different after updating. I unchecked the custom font box, saved, closed, and republished–but no change. Not sure how to fix this problem.
2) I use a lot of scripture in my blog and would love to have some custom CSS that would automatically convert all words in italics to a different font. Can you help with this?
Thanks!
http://www.mirrorministries.org
WP 4.1
X Renew (child)
Shortcode 2.6.1January 7, 2015 at 2:40 pm #178691
Daphne DParticipantUPDATE! My first question is solved. Apparently when you choose a font, if the “regular” tick is not checked, it won’t show the new font choice.
Still need CSS help with #2 🙂 thanks!
January 7, 2015 at 8:15 pm #178879
ChristianModeratorHey Daphne,
Please add the code in your Appearance > Customize > Custom > CSS
.italic { font-style: italic; }Then, add italic class to whatever text you’d want to be italic.
Thanks.
January 8, 2015 at 11:37 am #179331
Daphne DParticipantThank you for the help. I probably wasn’t clear on what I need…
Currently I can highlight text in posts and add italics easily. What I would like is for the “italicized text” to be a different font altogether from the body text (such as Cambria for italics and Lato for all else).
Is that possible?
Thanks again 🙂
January 8, 2015 at 9:34 pm #179583
DarshanaModeratorHi there,
In that case, you will need to load a separate stylesheet for that with your own styles so that it will be available through the editor.
Add the following code into your Child Theme’s functions.php file.
function my_theme_add_editor_styles() { add_editor_style( 'custom-editor-style.css' ); } add_action( 'init', 'my_theme_add_editor_styles' );Now you can add your own styles into that CSS file and it will be applied to your visual editor mode when writing and publishing a post.
Hope that helps.
January 12, 2015 at 1:30 am #181034
Daphne DParticipantI understand adding the code to my child theme’s functions.php file, but not sure how to add my own styles into that CSS file? Do you have an article or video that explains how to?
thanks 🙂
January 12, 2015 at 8:44 am #181262
DarshanaModeratorHi there,
Sorry for the confusion. You can use a plugin like TinyMCE Advanced Professsional Formats and Styles to add your custom styles easily.
Or else please follow the following article for a another alternative step by step guide (http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-styles-to-wordpress-visual-editor/).
Thanks!
January 12, 2015 at 8:58 am #181270
Daphne DParticipantgotcha! thanks!
January 12, 2015 at 4:47 pm #181560
FriechModeratorGlad we could help, Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-178674 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
