Hi guys !
I am trying something quite similar... it is chosing the footer i want to display depending on the language of the page using a script. I made a script for the multilanguage following the script of Brad Good. Everything works fine, i just need to display the right footer. I already made a footer with two sections within it.
The site is lafirme .ca
For now, concerning the ccode, here is where i am....
/*EXCLUDE OTHER LANGUAGE FOOTER*/
if (lang = "fr") {
section[data-section-id="615e0033625b2043c92d327a"] {
display: none !important;
visibility: hidden !important;}
}
if (lang = "en") {
section[data-section-id="609084d63d45de554fe899f5"] {
display: none !important;
visibility: hidden !important;}
}
Could anybody please give me a hand and help me figure out what i got wrong here ?
Thank you very much to all for your time and all previous documentation !
Cheers