weDevsOfficial / wedocs-plugin

A documentation plugin for WordPress
https://wordpress.org/plugins/wedocs/
GNU General Public License v2.0
195 stars 93 forks source link

Best way to customize CSS? #69

Closed jHetzer closed 3 weeks ago

jHetzer commented 6 years ago

I would like to customize the plugins css but i don't want to change the plugin files internally for update reasons. When I for example use the plugin "SiteOrigin CSS" it does work but when I load/reload the page i see how the style is changing. What would be the best/recommented way to accomplish this?

(I already created a child theme to change the slug of the plugin)

pwkip commented 4 years ago

You can remove the default styles in 2 steps:

  1. You could overwrite the templates (https://github.com/tareq1988/wedocs-plugin/wiki/Templating)
  2. Then simply remove the class in the containing div, and replace it with your own class, this will get rid of all the default styles.