Jump to content

How to edit shopping cart footer/header in squarespace 7.1 multilingual site?

Recommended Posts

Dear All, 

I have built a bilingual site thanks to the explanation found on this forum; precisely, building two versions of each page and hiding the 'other lenguage' navigation header and footer. 
(How to create a multilingual site on Squarespace 7.1 — Creations by Faria | Squarespace Website Design)

However, the code injection on each page does not give results on the shopping cart page, in which the complete navigation bar and the doubled footer are still visible.

Do you know how to solve this problem? I imagine 2 ways, repeating the trick done on the other pages somehow or removing directly the header and the second footer... 

Thank you so much! I hope you'll help me to find a solution 🙂

Link to comment
  • Replies 8
  • Views 1.1k
  • Created
  • Last Reply

With the footer, the only solution is to hide both the footer and navigation.
Or use both languages alternating, for example Home (Home) - About (Aboute) - Contact Us (Contacto) .. Likewise, you can put language text 2 below text 1.

If you want this, please share site url, we can give the code.

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
Quote
On 1/8/2021 at 8:40 AM, tuanphan said:

With the footer, the only solution is to hide both the footer and navigation.
Or use both languages alternating, for example Home (Home) - About (Aboute) - Contact Us (Contacto) .. Likewise, you can put language text 2 below text 1.

If you want this, please share site url, we can give the code.

Hi Tuanphan, thanks for your answer.
Is it possible to hide the navigation and the footer on the shopping cart page only, without affecting the other pages of the site? It would probably be the best solution. 

Have a nice day! 

Link to comment
22 hours ago, gabrilof said:

Hi Tuanphan, thanks for your answer.
Is it possible to hide the navigation and the footer on the shopping cart page only, without affecting the other pages of the site? It would probably be the best solution. 

Have a nice day! 

Yes. Possible. If you share link to cart page, we can give code easer

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
On 1/11/2021 at 6:20 AM, gabrilof said:

Okay, thank you. Here you can find the link to the cart page. 

https://www.vcubeitalia.com/cart

Add to Design > Custom CSS

/* Cart page */
body#cart {
	header#header, footer.sections {
		display: none;
}
}

 

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
3 hours ago, gabrilof said:

'/*Page name*/

Is just a comment to identify what the code is changing. It has no effect on the actual page. The critical bit, the selector, which targets a specific page is 'body#cart', in the case of the cart page. That would need to be changed in the code for each page where you want to hide stuff.

One has to look at the source for each page to be hidden and discover the correct selector to use for each page.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
Quote
Quote
23 hours ago, creedon said:

Is just a comment to identify what the code is changing. It has no effect on the actual page. The critical bit, the selector, which targets a specific page is 'body#cart', in the case of the cart page. That would need to be changed in the code for each page where you want to hide stuff.

One has to look at the source for each page to be hidden and discover the correct selector to use for each page.

 

Thank you Creedon! Very clear explanation. 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.