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

Disable the link on navigation folders in Brine template

Question

Hello! Does anyone know how I can disable the link on the folder navigation? Currently when you click the folder it defaults and links to the first page in the folder. I do not want it to link to any page and act solely as a folder for the pages. Anyone know the code that will help me achieve this? I am using Brine. 

Thank you! 

Nikkole 

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 1

I also added this ***very important***

@media screen and (min-width: 640px){
  
  a.Header-nav-folder-title.Header-nav-folder-title--active {
    pointer-events: none;
    cursor: default; }
  
/* this part here is really important for when I'm not on any of the pages within the folder */  
  
  a.Header-nav-folder-title {
    pointer-events: none;
    cursor: default; }
  }

 

Share this post


Link to post
  • 0

I think I actually just figured it out! I did it this way because I didn't want to affect the mobile menu when I clicked on the folder, so this was a way around that. I did this for the 'work' tab/folder/dropdown option in the navigation of my portfolio/design site because I didn't want the folder to link to anything at all. Let me know if you have questions! 

@media screen and (min-width: 640px){

  a.Header-nav-folder-title.Header-nav-folder-title--active {
    pointer-events: none;
    cursor: default; }
}

Note: I also used this site for reference/help.

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