Jump to content

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

Go to solution Solved by tuanphan,

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

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

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

Edited by gabrilof
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

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
  • Solution
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

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
Quote
8 hours ago, tuanphan said:

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

 

Thank you TuanPhan! It works perfectly.
So, to call in the code a precise page '/*Page name*/' is needed? 

Edited by gabrilof
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 best , and see my profile. Thanks for your support!

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. 

Edited by gabrilof
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.