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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×