Jump to content
newcoder1010

Fixed position does not work on my phone

Recommended Posts

Hello, 

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. 

Share this post


Link to post
Share on other sites

I have Android 7.0 phone. Chrome version  on my phone is 58. I have few sites. Those work on my phone just fine. Only that specific site has the issues. I am totally lost and so desperate to fix it. 

Thanks.

Share this post


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

Share this post


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.

Guest
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.

Loading...

×
×
  • Create New...