Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
dralessio

Bedford: how do I hide links in the secondary navigation?

Recommended Posts

Hi all,I'm using a Bedford template for my bilingual website.QUestion for the secondary navigation: I would like to hide the Italian links from my English pages and the English links from the Italian pages as I have done for the main navigation (both desktop and mobile).

This is the link to my website: www.dralessiomocci.com

Any help would be appreciated!

Best,Alessio

Edited by dralessio
Initial Revision

Share this post


Link to post

This can be achieved in exactly the same way as you did for the primary navigation.


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm currently booked until the middle of April 2020.
Prebuilt Squarespace Extensions
Custom Squarespace Extensions: Tell me about the functionality you need

**NEW** Our popular Enquiry Form ExtensionDate Picker Extension and Age Verification Extension are now Squarespace 7.1 compatible.

Share this post


Link to post

HI @Paul2009 Paul2009,I've tried to add this: #secondaryNavigation > div:nth-child(n),... { display: none; }

but didn't work. I've also tried to add '!important'. No game.Is there any other way I can do this?Thanks!

Share this post


Link to post

Hi Paul2009,I've tried to add this:


#secondaryNavigation > div:nth-child(n),... { 
 display: none;
 }

but didn't work. I've also tried to add '!important'. No game.Is there any other way I can do this?Thanks!

Edited by dralessio
Initial Revision

Share this post


Link to post

@dralessio Try


nav#secondaryNavigation div:nth-child(30n+10), nav#secondaryNavigation div:nth-child(30n+11), nav#secondaryNavigation div:nth-child(30n+12), nav#secondaryNavigation div:nth-child(30n+13) {
       display: none;
   }





Send me a message if you have any questions (free 10 minutes).

4000+ free code: Adirondack - Avenue - Brine - Bedford - and more (all 7.0 template & 7.1)

Useful guide: How to share url (trial plan) - 2 languages site - 3 languages

Plugins: Product Enquiry Form - Product Color/Image Swatch VariantLightbox Anything

Learn CSS Basic: Treehouse - W3Schools - Flexbox

Other groups: SS Customization Resource Group - SS CSS Support - SS Community

 

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...