Styling admin – working in MT, but not outside

Author Posts

Ralf

(wrong thread, sorry)


Ralf

Got it. Everything must be !important. But within MT, it works without. Why’s that?


Sebastian

Hey Ralf,

Thanks a lot for bringing this to my attention. I suspect that this happened because the order of styles was not the same in Microthemer compared to outside MT. I’ve just fixed an issue with style order in version 7.3.2.4. Please let me know if that solves your !important issue. You should need to use !important in both contexts, or increase the specificity of your CSS selectors.

Cheers,
Sebastian


Ralf

Thank you! I tried, and removed !important. It is still applying styles in MT, and not outside.
Not a big deal, now that I know !important is necessary. Just confused me, when I first tried this.
Cheers,
Ralf


Sebastian

Hey Ralf,

Thanks for the update. My adjustment may not be anchoring Microthemer’s styles correctly on your site. I’d be happy to troubleshoot, but if you’re not too bothered we can leave it for now. I think the most likely cause is probably the order in which the styles are loading, but if you have !important enabled for all styles this issue won’t be a problem in general.

Cheers,
Sebastian

You must login or register to reply to this topic.