How to move a span of Hadera?

In Hadera is span c a telephone number.
Need for mobile version it was fixed, nailed to the bottom of the page.

Try using js to move it from Hadera on the body, setting fixed positioning, bottom: 5px;
But he stubbornly nailed to the bottom of Hadera.

P. C. Decision should be without jQuery.
June 10th 19 at 15:40
3 answers
June 10th 19 at 15:42
It turns out, was influenced by top media query where the position was absolute.
June 10th 19 at 15:44
Why dancing with the js? position: fixed works relative to the screen regardless of the attachment in the DOM, you don't need to transfer, just media to change css properties
Doesn't work. Fixed on Hedera( - Adriel commented on June 10th 19 at 15:47
June 10th 19 at 15:46
If you want to make it always appear at the bottom of the viewport regardless of page scrolling, the answer is above. If you need to move to the footer, it is better to add to footer another room and display it using @media queries

Find more questions by tags CSSJavaScript