Deactivate Tablet Landscape & Tablet Portrait

Posted in: Newspaper
Post count: 53

I want to show a skyscraper-ad on the left site. For this issue I created a div container and changed the custom css:

#ad-left {
float: left;
position: fixed;
margin-left: 15px;
margin-top: 25px;
}

.container {
margin-left: 190px;
}

For the desktop-version this is no problem, but for Tablet Landscape & Tablet Portrait. So it is possible to deactivate the tablet versions?

The tablet version has also display errors with WooCommerce…

Post count: 9544

You can edit the style.css to remove @media views you don’t want to use. If you don’t know what you’re doing you can quickly mess that up, however, since the menus are designed to change based on viewport, so it’s a bit tricky.

Post count: 6600

Hi,

Thanks Christopher!

@jb
As Christopher suggested you can edit the style.css file and remove the media query’s which add style for tablets. Remove all css inside this:

/* responsive portrait tablet */
@media (min-width: 768px) and (max-width: 1018px) {

}

/* responsive landscape tablet */
@media (min-width: 1019px) and (max-width: 1200px) {

}

Thanks

Post count: 53

Thank you for the explanations!

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