How to ignore the specific CSS codes coming from the WordPress plugin stylesheet?

后端 未结 8 1494
闹比i
闹比i 2021-01-12 18:13

I am working on a WordPress website built on custom theme in which I want to ignore some specific CSS codes coming from wordpress plugin style sheet.

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-12 19:01

    Your additional CSS has still got priority but the plugin stylesheet (/plugins/gravityview/templates/css/table-view.css I guess) classes are more specific and therefore win, for example:

    .gv-table-view tr td from the plugin wins over your .gv-container-2777 td you could just copy their css or change yours to be more specific e.g .gv-container-2777 tr td

提交回复
热议问题