Wordpress Discussion

Out of context: Reply #14

  • Started
  • Last post
  • 164 Responses
  • hans_glib0

    i'm hacking a child theme together at the mo, using a custom css file to override the main theme as and when.

    but why won't my custom css override plugin css files? for instance, i'm using responsive tabs plugin, and have to hack the min.css file in the plugin folder to get any changes to work. this can't be good, can it?

    • the plugins are adding their styles via wp_enqueue_style, you simply need to dequeue them. but this depends actually how your original theme was builtsted
    • but actually if you just simply copy the rules from the tabs plugin css to the custom and add your own stuff it should work.sted
    • ^ yep what he said - and occasionally you may have to use !important in your styles to override stuff - not that this is a nice way of working.fadein11
    • interesting, thankshans_glib

View thread