Jump to content

Different footers on different pages

Recommended Posts

Site URL: http://lafirme.com

Hi guys !

I am trying to chose the footer i want to display depending on the language of the page using a script.

The site is lafirme.ca

For now i am there....

 

/*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 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 !

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

http://lafirme.com/

The site url doesn't exist. Can you check site url?

Also, the above code is invalid. Need to site url to give exact code

Edited by tuanphan

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.