Hide background on smartphone/tablet

Posted in: Newspaper
Post count: 24

I’ve defined custom background on homepage and in the articles (every category has a different background) but i want to display it only on desktop and not on smarthphone and tablet. How can i do ?

Thanks

Post count: 22421

Hello gfm1978,

You can use this custom CSS although i am not sure where you will use it. On tablets and phones, the background image is not visible.

@media (max-width:1140px){
.backstretch{
display:none!important;
}}

I hope this helps
Thank you!

Post count: 15

Hello,

I have the same problem. I configured a background image click advertising. All right desktop version mobile version but although the image is not displayed background image the system loads and when browsing with mobile and you click somewhere on the web makes a strange as if the entire screen clickable out.

How you could fix that image directly carge not mobile?

Greetings.

Post count: 22421

Hello,
This does not sound like the same problem as above. Please provide a link to your website so we can inspect it and provide a few examples of how the issue occurs so we can understand better how to help.
Thank you!

Post count: 15

Site: casasdeapuestasweb.com

In the background desktop version click advertising it works correctly.

Mobile version also works well (the fund is not shown). The problem is that when you click somewhere browsing mobile version seems as if the mobile screen out an entire link (although go to the site you have clicked). It is as if, although the fund is not displayed in mobile version, it was carrying in some layer.

What I want is configured to load the background even mobile and tablet version.

Greetings.

Post count: 22421

Hello,
Please disable all your plugins except visual composer, clear cache and reset cdn if you use it. This is most likely a plugin conflict. (I’m not sure about your second part of the message: “What I want is configured to load the background even mobile and tablet version.” Please try to explain better.)
Let us know how it goes.
Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.