Use top: auto
to “reset” top
to its initial value.
bottom
is a totally separate property to top
(an element can have both a top
and bottom
), so perhaps you won’t need bottom
anymore.
Also, make sure your override selector is specific enough, but it doesn’t sound like that’s the problem in this case.