Jump to content

Please help with clickable folder code!

Recommended Posts

Site URL: http://lightsandlines.art

Passcode: testing

Please help me take a look at how to make the folder clickable. I understand from previous posts that different templates might require different code. 

 

Originally I didn’t think much of the folders not being clickable but after some customer testing, it became an issue that’s been repeatedly address. Please help, and thank you in advance!

Link to comment
4 hours ago, LALstudio said:

but I would also like to hide the first item on the drop down

Add the following to Design > Custom CSS.

/* desktop menu folder first item hide */

.header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item:first-child {

  display : none;
  
  }

This is for v7.1.

Let us know how it goes.
 

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

I have another question.

Is it possible to do the same, as to hide the first item in folder drop-down when viewed on mobile devices? I have received feedback saying it’s kinda confusing to the audience. Thank you!

Edited by LALstudio
Link to comment
7 minutes ago, LALstudio said:

Is it possible to do the same, as to hide the first item in folder drop-down when viewed on mobile devices?

No because of the structure of mobile menus.

At the first level we see Work for example. If this link were made to go to the first menu item like on desktop there would be no way to get to the submenu.

836673177_ScreenShot2022-03-02at12_18_50PM.thumb.png.07e6b6a9987789a9570aa43a86a12f90.png

If the Work link was removed from the submenu then you couldn't get to the actual link of interest.

1817454715_ScreenShot2022-03-02at12_19_35PM.thumb.png.c527d46a0c9395c5574690037352b1c9.png

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
  • 6 months later...
  • 6 months later...

THANKS SO MUCH!!!

I was able to create a folder and make the drop down clickable. Is it possible to link the folder to a page?

I would like to have the SHOP folder linked to the current CATEGORIES page.

www.soulmaidjewelry.com

 

Also, the drop down is now transparent. I'd like to change the color so the drop down is readable on all pages. 

The following is my current Header CSS. Can I change it within the code or just add something to change the dropdown background color?

 

CSS:

 

@media screen and (min-width:768px) {
section.ProductItem-details {
    padding-top: 0 !important;
}
}

.header-nav-item:hover>a {
    color: #f5ae93 !important;
}
.header-nav-folder-item:hover a {
    color: #f5ae93 !important;
}

.header-nav-item--active a {
    background: none !important;
}

/* Shop category color on hover */
li.category-item a:hover {
    color: #f5ae93;
}


.header-menu-bg.theme-bg--primary {
    background: white;
}
.header-menu-nav * {
    color: #E1CCBE !important;
}
span.chevron.chevron--right {
    transform: rotate(135deg);
}


 

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.