Remove scroll-content margin-top


#1

I’m trying to remove margin-top property of scroll content overwriting with scss, but it doesn’t work. Automatically a margin-top: 56px; overwriting my margin-top: 0; on inline element.style.

I’m trying to get slider of images under header, but this margin-top forbids me.


#2

If you’re using only an ion-content with fullscreen, you could always use the css !important flag to override the default.


#3

Thank you! I don’t know why I don’t thought on !important property. It solve my problem! Thank you.


#4

You’re welome. Just make sure you aren’t throwing these importants everywhere, only use them if you really need them :wink: