So I’m creating a new header in cloud template from scratch(blank header). We are using WPML for multilanguage.
My question is, do I have to create 2 headers for each main page to display? Because, we are placing URL for the header logo but have 2 main pages obviously which ends with .com and the other is .com/en/
Hi,
It is possible to set different headers for the translated pages, with the header manager.
I made a test using different headers each with logo elements in them. On English (default language) for example it will direct to the normal URL – https://prnt.sc/p7otl7 while on French using a different header it directs to the French URL – https://prnt.sc/p7ou79
You could do it like that, if you have more questions let me know.
Thanks
Hi Simion
Thank you for the quick reply.
So we have to create 2 separete headers for main and the 2nd language? Have you tried using only one header for both static homepages? How do we set 2 different header?
Additionally, the mobile theme’s header style is just the way we like it. So if we are to create a header and leave the mobile version as it is, does the mobile theme still loads the original version? Or we have to also create the mobile version too when we have a new header?
Hi,
Should work fine using one header template, WPML adds the language parameter to the permalink when the language is changed.
But it may be easier to create 2 header templates, so you can use for example different logos if needed, and different menus etc directly in the template. You can for example duplicate the template and customize it for each language – https://prnt.sc/p86qss
Thanks
Hi Simion
Can you also reply this?
Additionally, the mobile theme’s header style is just the way we like it. So if we are to create a header and leave the mobile version as it is, does the mobile theme still loads the original version? Or we have to also create the mobile version too when we have a new header?
Also, whenever we translate MORE for mobile version from inside the tagdiv builder, the menu brakes. Please see the image
https://pasteboard.co/IyK3r7o.png
-
This reply was modified 6 years by
fatih-2.
Hello,
All templates that you get from tagDiv Cloud Library comes with a version for mobile menu, so if you’ll change the desktop header the mobile header will be change too.
Also I’ve made some tests regarding the problem you mentioned and it seems that this is an issue on mobile device. I add this issue to our fix list, this will be fix for the coming update! sorry for the inconvenience!
Thank you for your understanding!
Hi Calin
Thank you for the reply. So we must create a new header if we are to make a new desktop header. If we leave it untouched, the mobile header will be empty right?
Looking for that issue to be fixed.
We are also using custom category and post templates from cloud library, do we also have to update the headers on each one of them? Because updating the header on homepages doesnt have any affect on the category pages’ headers
Hello,
If you are using the a header template from tagDiv Cloud Library with the Header Manager then you can set that template in Theme panel as global for your website -> http://prntscr.com/orgl6n ( this will be apply on all post/pages/categories … that do not have set an individual header ).
If you build a new header template, then yes the mobile header will be empty, but if you import some header templates, this will be set for mobile deceive too.
Thank you!
Hello,
If there are still some problems, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.
Thanks