• Resolved pgdev

    (@pgdev)


    Hello everyone, I need help with a page that I’ve been working on. There is this preheader title (grey color block) in mobile view which renders good when I’m logged in as admin but renders differently for non logged-in users. Please check image below for understanding.

    snap from “logged-in as admin” mobile page https://paste.pics/QYTFU
    snap from “non logged-in” user mobile page https://paste.pics/QYTG2

    What’s causing this issue at all? How can I hide this for particular page? Please help me.

    • This topic was modified 6 months, 1 week ago by pgdev.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • The page loads perfectly fine on my cell phone. I can see the header at the top.

    However, I also see that the header only loads when JavaScript is activated. You are embedding some external script there, which is probably not executed sometimes. If it is not executed, the styling of the website is no longer correct – and then looks like your screenshot. You would have to ask the person from whom you got the script why and why.

    I can’t be sure what you’re seeing because it was changed since you posted… maybe threadi resolved it for you. But the first thing I check when I have weird header issues between logged in, and not logged in, is whether or not that WordPress edit bar is turned on. It breaks all sorts of things.

    Thread Starter pgdev

    (@pgdev)

    I’m sorry for confusion. My bad! I gave the wrong URL. This is the page I need help with https://latpay.com/
    Whatever I wrote above its about this page, There is a ‘region selection‘ button on the top right side corner which renders perfectly in mobile view as well as in desktop view when I’m logged in as admin. But for non logged-in users in the desktop view, the button renders as a small button on the top left corner click here . And in the mobile view it looks like this click here

    I need that button to render perfectly for non logged-in users too as it was visible before. Can you tell me what’s affecting these? How to resolve? Is it related to CSS or script change?

    I had already understood that. Hence my reference:

    However, I also see that the header only loads when JavaScript is activated. You are embedding some external script there, which is probably not executed sometimes. If it is not executed, the styling of the website is no longer correct – and then looks like your screenshot. You would have to ask the person from whom you got the script why and why.

    What did you get out of it?

    Thread Starter pgdev

    (@pgdev)

    Not me, The previous developer has used that script. Now, I need to resolve this issue all by myself and I’m not too good in troubleshooting. I’m not able to figure out which external script is responsible for it, and how to deal with it. If you could help in this, I will be grateful !

    Have you changed anything in the meantime? The mobile view now looks perfectly fine to me.

    Thread Starter pgdev

    (@pgdev)

    I edited custom CSS which was responsible for hiding it for specific page and it became visible.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Preheader title block renders diff for non-admin user’ is closed to new replies.