WEB Overlay

0

Personal I created a website, with Wordpress. But in one of the pages when in mobile my links do not work what I understood was that there was something over my site and when I saw that it was the same. I saw that the id #sidebar occupied the whole site in the mobile version, making navigation impossible. How do I 'override' the ID behind the site?

    
asked by anonymous 15.03.2018 / 03:33

1 answer

0

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

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

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

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

    
15.03.2018 / 03:48