dralessio Posted July 11, 2019 Share Posted July 11, 2019 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 Link to comment
paul2009 Posted July 11, 2019 Share Posted July 11, 2019 This can be achieved in exactly the same way as you did for the primary navigation. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
dralessio Posted July 12, 2019 Author Share Posted July 12, 2019 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! Link to comment
dralessio Posted July 12, 2019 Author Share Posted July 12, 2019 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! Link to comment
tuanphan Posted July 12, 2019 Share Posted July 12, 2019 @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; } 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.