So I have to change a layout of an .aspx page, and I don't want to create a separate master page for it, so I'm overriding the css of my master page on that aspx's layout using !important
where necessary.
Everything works just fine except for one property... #s4-bodyContainer
has property min-width
set to 1550px !important
in the master page, and I need to change it to 1300px !important
.
If I put my overriding css style in the beginning of my page, it doesn't override master page's style, because in master page there's !important
also, and it is being rendered after my written css. And if i put my css in the end of the page, it overrides the master page's style, but does it only after the page load, so every time I go to that page or refresh it, I see a little glitch on loading..
So, is there any chance to solve my problem without modyfing the master page, or creating another one? Just using css on .aspx page?
Thanks in advance!