Jump to content

Fixed position does not work on my phone

Recommended Posts


I have a phone number block. I applied the below css to have the phone number fixed. It works on my laptop when I make the screen less than 768px. However, when I visit the page on my galaxy phone, that phone no block not fixed. 

.PhoneNo {
    position: fixed;
    z-index: 2;

I have done that many times. I am not sure why it would not work now. Please advise. 

Link to post
Share on other sites

Update -

The block I placed it at the header. So when I scroll down i do not see the block at all. I started seeing it fixed position only when I scroll back up. If you can provide any input, it would be great. But in laptop browser, block is always in fixed position.

Edited by newcoder1010
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...