Limit css rules to event wrapper instead of global scope
-
Plugin: event-registration
Version: 6.01.08PROBLEM:
FILE:event-registration/evr_calendar.css
– currently this plugin has some css rules that use very common selectors like and applied globally:.custom { padding: 0.5em 0.8em 0.8em 2em; } .info { ..
So they affect global styling (for example body often has class “custom”).
SOLUTION:
– change css rules so they are only applied to elements under event wrapper, i.e.:
.event_block_wrapper .custom { ..
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Limit css rules to event wrapper instead of global scope’ is closed to new replies.