- This topic has 7 replies, 3 voices, and was last updated 7 months ago by Elvin.
November 5, 2019 at 8:39 pm #1054436Kim
Hi there, I’ve tried to add a different site header for mobile and for desktop for our Woocommerce main shop page. To achieve that I’ve created a header with the class “hide-on-mobile” and another one with the class “hide on desktop”. The first one works fine (not showing up on mobile view). The second one is not displayed (whether on tablet nor on mobile) and “crashes” the whole header on both mobile views.
So I would like to know if it is generally possible to have a different page header for mobile and desktop or if I am doing something wrong?
The site is under development at the moment. If needed I can provide you with some admin credentials.
Many thanks!November 6, 2019 at 3:10 am #1054624DavidStaffCustomer SupportNovember 6, 2019 at 7:20 pm #1055458Kim
Hi David, many thanks. That made it clear! I will solve it otherwise.November 7, 2019 at 1:44 am #1055602DavidStaffCustomer SupportMay 3, 2021 at 9:47 pm #1762922Mira
I have the same problem like Kim.
Could you tell me, how I can fix this problem? How can I implement two different header for mobile and desktop for the front-page?May 4, 2021 at 2:36 am #1763282DavidStaffCustomer Support
you can’t create multiple Header Elements but you can use the Block Element in GPP 2.0 to create a Page Hero.
This will allow you to add multiple Page Heros or you can create a Desktop Hero and Mobile Hero in the same element.
Simply select the Container Blocks you want to show / hide for different devices and in the Advanced > Additional CSS Class(es) you can use a hide-on-* mobile class:May 4, 2021 at 10:12 pm #1764820Mira
thank you for you answer.
I now got the Plugin “Generate Blocks” and that helped me a lot.
Do you know how I can install GPP 2.0? I have still the version 1.12.2 of GP Premium and I don’t see an option to update the plugin.May 4, 2021 at 11:59 pm #1764951ElvinStaffCustomer Support
Do you know how I can install GPP 2.0? I have still the version 1.12.2 of GP Premium and I don’t see an option to update the plugin.
You can do a manual update by downloading the GPP 2.0.2 file on your Account > Download page.
You then upload the plugin similar to uploading any other plugins.
A wise man once said:
"Have you cleared your cache?"
- You must be logged in to reply to this topic.