How To Hide A Popup In Mobile View - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

How To Hide A Popup In Mobile View

O

Ola

SP Page Builder 5 months ago

Hi!

I think I have looked everywhere in the settings for the popup I created. But how do I hide a popup in the mobile view?

I only want to show the popup on desktop or tablet view.

Forgive me if I am blind.... ;-)

Kind regards Ola

0
9 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #191981

Ok, I will try to share universal CSS code

@media screen and (max-width: 680px) {
#sp-pagebuilder-overlay-30 {
  background-color: transparent;
  position: relative !important;
  display: none !important;}

.sp-pagebuilder-popup {
display: none !important;
  width: 0; height: 0;  z-index: 0;
  max-width: 0; position: relative;}
    }

Notice ! Look at the 2nd line, instead of "30" please add correct number of your Popup page ID (visible on the list - right side). In your case that number can be 2, 3 or ??.

info_2818_2025.gif

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 5 months ago #191950

Hi

Thanks for contacting us. You can go to that addon settings and enable these hidden options. Please check this screenshot below:

https://prnt.sc/GCkGEAYDKc9r

Hope it helps.

-Regards.

0
O
Ola
Accepted Answer
5 months ago #191953

I don't mean the add-on Modal popup.

I mean the new pop-up builder. There are no settings to hide a popup in mobile view there? https://i.imgur.com/yqyODW5.jpeg

Ola

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #191964

Hi Ola,

Indeed, that setting wasn't added yet, but it will be. By now you have to use Custom CSS to hide it.

Can you share site URL where you have that popup, please

0
O
Ola
Accepted Answer
5 months ago #191979

Hi Paul!

Thanks.

I have disabled the popup since it cover the whole mobile area.

If there is a custom.css maybe you could share it here since there might be other users with same question?

Hopefully this option will be added in a later release ;-)

Kind regards Ola

0
O
Ola
Accepted Answer
5 months ago #191987

Thanks Paul!

Works perfect!

Ola

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #191988

If you want to hide it also on typical Tablet, change value from 680px to 999px in first line.

0
O
Ola
Accepted Answer
5 months ago #191991

Ok great!

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 5 months ago #192053

Thanks for accepting the answer.

0