Can you please share the screengrab of what you trying to achieve? So that we will help you accordingly to resolve it.
Good morning and thanks for replying.
I would like to hide certain elements and can’t find the right css.
Please see screenshot for victoriouschristians.com .
Image
FYI.. Will purchase premium after first of June.
Can you please give it a try by referring to the below code and let us know back if it works or not? So that we will assist you accordingly to resolve it.
Code:
.page-id-5 .gc-header {
display: none;
}
Unfortunately this results in removing header for both mobile and PWA. I need to remove only for PWA. Thanks
Sorry for the previous response. It’s not possible to hide the header in PWA only from CSS. we need to add JS for tat. Can you please add the following JS and let us know back if it works or not? So that we will assist you accordingly to resolve it.
Code:
if(window.matchMedia('(display-mode: standalone)').matches) {
document.getElementsByClassName('gc-js-header').style.display = "none";
}