Hiding the header code I added from the chat area

Hello dear friends.

I added a code to the header and it works fine.
The code I added;
div class=“block22”
button class=“block22” Block Button button
div

image

But I want to hide this item from chat page on mobile. I really need help on this. All my attempts have failed.

Kind regards

Just in the chat page, is there any help on how to hide the header code that I added?

Hello :wave:

I am on my phone now but if I remember correctly you can target the .has-full-page-chat body class.

Mobile / CSS

body.has-full-page-chat {
  .block22 {
    display: none;
  }
}
2 Likes

You are my hero.

Respects

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.