Overlay on WEB

Asked

Viewed 40 times

0

Personal I created a site, with Wordpress. But on one of the pages when on mobile my links don’t work what I understood was that there was something above my site and when I saw it was just that.I saw that the id #sidebar occupied the entire site in the mobile version making browsing impossible. How do I 'overwrite' the ID behind the site?

1 answer

0


You can change the z-index, which is the layer that defines who stands in front of other elements, so if you increase the z-index of the back layers, they stayed on the #sidebar. Understanding the Z-index

Another possible, is you leave the #sidebar disabled in mobile versions, in css, you create the media, and change the properties, it would be something like

@media only screen and (max-width: 768px) {
    #sidebar{display: none !important}
}

Thus, on devices with a resolution less than 768px, the #sidebar would not appear on the screen

Browser other questions tagged

You are not signed in. Login or sign up in order to post.