Home › Forums › JavaScript › ScrollMagic centers pinned object › Reply To: ScrollMagic centers pinned object
March 6, 2016 at 12:22 pm
#238771
Mottie
Member
I don’t know why margin: auto
is added inline, and this may not be an ideal solution, but you override the effect by adding an !important
flag to your css margin:
margin: 20px 0 0 0 !important;