Tagged: Slider CSS
When I edit the CSS for the slider, is it best to edit the CSS that is in the plugin/slider directory, or is there a better way to do this? Is there a problem with updates, etc. if I edit the CSS in the plugin directory?
Owner, St. Louis IT Solutions, LLC
Well, I can tell you what I do in such scenario. If you know that the plugin WILL be updated, then it is best to find out the elements which you want to change and use it in your theme’s stylesheet like If I need to adjust height of the div with the id = main to 20 px then I will write this in theme’s style sheet -
height: 20px !important;
So “!important” will override the default style. But sometimes you won’t see any change (which is like 1 in 100 times chance), then you have no other option than to change plugin’s style sheet and keep record of it so that you can do it again after the plugin gets updated.
Sometimes I also use Genesis Simple Hooks Plugin for describing any particular style early during the site load by using
these tags in upper sections of the Simple Hook Plugin.
I know this may not be the best solution, but this is what I do and I would also appreciate if any experienced genesis developer could give us some point if this is not the right way.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.