html - How to edit WordPress CSS written as inline CSS? -
this question has answer here:
i'm trying edit css of wordpress template.
i using firefox find css styles , found line need edit, looks this:
<div style="transition: height 350ms ease 0s; height: 450px;" class="og-expander">
what want change height: 450px
height: 100%
.
i have tried editing og-expander
class' height, didn't work. realized height
property within og-expander
disabled because of inline css, can't find place edit inline css.
i have searched through other css files well, failed find it.
you can override style added directly element !important after style statement in css files. instance
.og-expander { height: 350px !important; transition: 0 !important; }
also, might try searching php files edit place directly. if added in core or plugins, direct editing bad idea, try find appropriate filter or action hook.
Comments
Post a Comment