Archived topic
Menu on the top
20 replies · Started by Jusung on January 30, 2023
I found that my button is not visible on mobile.
I gave po-submenu(class) and give padding to the buttons according to the device size.
Is there a way to make all the button visible on mobile device?
Try static padding values.
I also updated the code here: https://generatepress.com/forums/topic/menu-on-the-top/#post-2515123
Can you try that?
@media(max-width: 769px) {
.po-submenu {
padding:10px 15px 10px 15px;
}
.globalization {
display: none;
}
}
Like this.
I want to hide the last button when it is mobile device.
So, I gave globalization(class) to the last button and used this, but it doesn't work.
Could you help me to remove the last button on mobile device?
Try this instead:
@media (max-width: 768px) {
.po-submenu {
padding:10px 15px 10px 15px;
}
body .gb-button.globalization {
display: none;
}
}
Thank you Fernando!!
It has been settled!
You're welcome, Jusung!