Question
7
Replies
288
Views
Posted: November 11, 2019
Last activity: November 27, 2019
Closed
Solved
Hiding Button In HTML Section
Hi everyone,
I have a problem with visibility button in mobile app,
I need to hide a button when it open not by desktop version.
The problem is the section came from HTML, i want to try configure it but i think it's too risky.
I try using CSS to hide it using device-width and it not good enough because it will depends by the static value for width device.
How best way adding expression on it ?
Thank you, here i attached the HTML from the section and my CSS
Hi
To hide the button you can use the syntax :
<pega:when test='pyIsMobile'>
Include code for the button
</pega:when>
Hope it helps.
Regards
Bhavya