Line-height snippet
-
This is a question of a more general nature.
I would love a bit of assistance in modifying the line-height of a paragraph or a class by way of the custom CSS field and/or child theme stylesheet but so far I have had no luck.
I have tried understanding some threads on stack-overflow on how to add a line-height function to the tinyMCE but that seems to be beyond me. I realize that I can change the line-height for classes manually in /public_html/”domain”/wp-content/themes/customizr/inc/css , but then I’d have to change it for each skin and also, its not viable when I want to play around with different sizes to see how it affects a design. I have been looking for plugins that provide more advanced formatting options (like the basic formatting toolbar in a standard office app) to no avail. I am a novice but I think I understand the idea of classes including the benefits and the limitations. What I don’t understand is why properties such as “line height” and “font color” differ from a property such as “bold”. Is there a reason why the default wp text editor and tinymce advanced don’t offer line-height or line-spacing or other useful formatting options? Does someone know of a plugin that remedies this? And if not, could someone enlighten me on the proper snippet for this? Thanks
- The topic ‘Line-height snippet’ is closed to new replies.