How to Add Custom CSS HTML to Wordpress Post

How to Add Custom CSS HTML to Wordpress Post


How to Add Custom CSS HTML to Wordpress Post

How to use Wordpress CSS editor plugin to add custom HTML/CSS effect and/or JavaScript to a specific page or post.
Source: https://redstapler.co/add-custom-css-
Follow us on
Facebook: https://www.facebook.com/theRedStapler
Website: http://redstapler.co/
Twitter: https://twitter.com/redStapler_twit


Content

0 -> hello and welcome to red stapler Channel in this tutorial I'm going to show you
4.17 -> how to add a custom CSS effect to any WordPress page or a post easily in just
9 -> a few minutes ready let's check it out
18.23 -> there are a couple ways to add a custom CSS to WordPress the first one is to use
23.34 -> an editor to add your CSS to the theme directly but this is a very bad practice
28.8 -> since the CSS will be applied to the entire site not just one page plus your
33.39 -> code will be wiped out when updating the theme the second method is to add an
37.95 -> inline CSS using style tag directly into the post this works for most case but
43.26 -> you see that the CSS will also be counted as content and Confuse the another
47.879 -> plugin like Yoast SEO and ads injection resulted in misplaced
52.35 -> ads or even break your CSS code another way is to use the additional CSS in
57.36 -> WordPress customizer this is probably the best way compared to the previous
61.89 -> two but still the CSS will be applied to the entire site and not the post so to
67.89 -> solve this problem we are going to use a WP add custom CSS plugin once installed
73.56 -> you have the additional box at the end of the post that allows you to add any
78.119 -> extra CSS to that post only as an example I'm going to show you how to add
83.189 -> these 3d social media buttons to the page first I'm going to copy the HTML
87.57 -> into the post we need to do this in text mode you can see that I also have
98.49 -> JavaScript added too which is perfectly fine next I'm going to copy over the CSS
103.979 -> into the box
110.28 -> and now we need a little adjustment since the original code was added to the
115.3 -> body of the page but here we are adding to the post section instead so I'm going
120.01 -> to create a wrapper div to wrap our code and then copy the related CSS on the
125.08 -> body to the wrapper and that's it let's see the result so that's all for this
151.45 -> tutorial if you love this video hit like button and subscribe to stay tuned with
155.8 -> us for the next update thanks for watching and see you next time bye

Source: https://www.youtube.com/watch?v=f8R8E6c8gYk