If one innocently places an HTML macro in an Excerpt macro, and adds some CSS to the HTML macro, such as
<style> p, ul, ol {color: #3D3D3D !important; font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 18px;} .bv-content-wrapper.aui-page-panel-outer-content {background-color: #FEF9F5 !important;} </style>
that style gets applied not only on the page with the macro - but EVERYWHERE; even when there is no Excerpt Include macro ANYWHERE.
What's going on!?
Cheers
Because your rule overwrites the existing rule for all p, ul, and ol tags on the page. The solution is to wrap whatever it is you want to style inside a classed div, then rewrite your rule to be class specific.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.