Jump to content

Remove navigation on product page

Recommended Posts

Site URL: https://www.haveteewilltravel.com/store-2

Hello, 

I am trying to remove the navigation links on a product page or shopping page. I would like to do this on individual pages, not the entire site. I found some code that was supposed to do the trick, but didn't seem to work. This is the code I tried. 

<style>

/* REMOVE TOP SECTIONS - Header, Mobile Header, Announcement Bar */

.Header, .Mobile-bar, .sqs-announcement-bar {display:none !important;}

  

/* REMOVE BOTTOM SECTIONS - Footer */

.Footer {display:none !important;}

</style>

Screen Shot 2020-07-10 at 8.25.50 PM.png

Link to comment
  • 1 month later...
  • 1 year later...

@tuanphanFigured I'd add to same thread, trying to do this also but it can be for all the product pages. My client's site is set to private but see attached screenshot. Want to remove the navigation at the top, as these are client specific invoices and they shouldn't see the rest of the store. Thank you.

Screen Shot 2022-01-20 at 11.37.41 AM.png

Link to comment
6 hours ago, RikkiG said:

@tuanphanFigured I'd add to same thread, trying to do this also but it can be for all the product pages. My client's site is set to private but see attached screenshot. Want to remove the navigation at the top, as these are client specific invoices and they shouldn't see the rest of the store. Thank you.

Screen Shot 2022-01-20 at 11.37.41 AM.png

You mean "Invoices > Editing.."?

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
  • 1 year later...
On 9/13/2023 at 3:18 AM, anastasiosmoiras said:

Hi @RikkiG 

How did this work for you? I'm trying to do the same and make the small navigation within the product page disappear. Your help would be much appreciated  

Add this to Website > Website Tools > Custom CSS

nav.ProductItem-nav {
    display: none;
}

(If you mean to remove this)

image.thumb.png.931a1e9af37146bea03306c8ba1aef6d.png

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
15 hours ago, anastasiosmoiras said:

@tuanphan Thank you so much! That worked. 

 

I'm also trying to hide the image from some or all product pages. I'm using the 'wrap' product section design which looks just fine without an image on desktop but on mobile it created a 'blank' space for the images and put the product title far down the page. Any idea how to fix it? 

Can you share link to some products where you want to hide images? We can check easier

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 9/20/2023 at 2:46 AM, anastasiosmoiras said:

@tuanphan https://travel-boutique.com/explore/p/best-of-greece-28-may-2-june

Password: dphworld

If you look at the above link, the desktop without an image looks fine however mobile has a placeholder space on the top. 

You can use this code to Website > Website Tools > Custom CSS

@media screen and (max-width:767px) {
figure.pdp-gallery {
    display: none !important;
}
}

 

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

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.