Creativo Posted August 16 Share Posted August 16 I have a dual language website that people can pick which language they want to view the website in and I'm having trouble with some coding I've placed in my my footers. I have my footer duplicated for each language and then hidden depending on which language they've picked. French footer is hidden on the English side - only English is displayed and vice versa for the French. The custom code placed in my footer is not displaying on the English side but displaying double on the French side (see screenshots). I've deleted the code and placed it back in case it just needed a reset but that didn't work so I'm not quite sure how to fix it. Any ideas? www.oneofthereids.ca Password: claire1234! Code that I need to use for membership badge: <div id="mni-membership-638495506847879284"></div> <script src="https://tbchamberon.chambermaster.com/Content/Script/Member.js" type="text/javascript"></script> <script type="text/javascript"> new MNI.Widgets.Member("mni-membership-638495506847879284",{member:6155,styleTemplate:"#@id{text-align:center;position:relative}#@id .mn-widget-member-name{font-weight:700}#@id .mn-widget-member-logo{max-width:100%}"}).create(); </script> Link to comment
Creativo Posted August 16 Author Share Posted August 16 @thesquareteam sure could you post solution on here?! Link to comment
tuanphan Posted August 17 Share Posted August 17 To fix double problem on French Pages, you can use this code to Website Tools > Custom CSS div#block-yui_3_17_2_1_1716575090948_7706 div[id*="mni-membership-"]>div:first-child { display: none; } To fix badge doesn't appear on English Pages: I think both section has same code so they conflict together, you try edit English Code Block > Replace current code with this line only <div id="mni-membership-638495506847879284"></div> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Creativo Posted August 22 Author Share Posted August 22 @tuanphan unfortunately that didn't work! It seemed to have made the badge on both versions disappear. Link to comment
tuanphan Posted August 24 Share Posted August 24 First or second doesn't work? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
tuanphan Posted August 30 Share Posted August 30 If script still doesn't work, I think you can consider adding it with Image Block Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Creativo Posted August 31 Author Share Posted August 31 @tuanphan that's exactly what I'm going to do, just cheat and add it as an image haha thank you!! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment