Monday, April 22, 2019

How to Hide Elements on Specific WordPress Pages

Find the post or page id. something like: .postid-1762 or .pageid-1762. Then add to your css :

.postid-1762 #your-element {
    display: none;
}


Sunday, April 21, 2019

Hiding elements on Mobile with CSS



@media screen and (max-width: 320px){#wrapper{display:none;}}
@media screen and (max-width: 480px){#wrapper{display:none;}}
@media screen and (max-width: 650px){#wrapper{display:none;}}
@media screen and (max-width: 980px){#wrapper{display:none;}}
@media screen and (max-width: 980px){#wrapper{display:none;}}

replace #wrapper with any other DIV or Class you don’t want to be displayed.

How to Hide Elements on Specific WordPress Pages

Find the post or page id. something like: .postid-1762 or .pageid-1762. Then add to your css : .postid-1762 #your-element { display :...