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

Sabu

Member
  • Posts

    5
  • Joined

  • Last visited

  1. Site URL: https://www.sabustudio.com Hi, I have set up my navigation for desktop, it is all working as I want on desktop, although I am having issues with it on mobile device. On desktop I have integrate this code so the folders redirect to specific pages: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/furniture-folder"]').click(function() { window.location = "https://sabustudio.com/furniture"; }); $('.header-nav-folder-title[href="/object-folder"]').click(function() { window.location = "https://sabustudio.com/object"; }); $('.header-nav-folder-title[href="/lighting-folder"]').click(function() { window.location = "https://sabustudio.com/lighting"; }); Although, on mobile the folder navigation does not utilise the redirect link as it does on desktop, it just links to the folder contents. It currently goes as follows: I would like it to go: I am trying to remove/bypass the second hamburger menu page and instead wanting to use the redirect link. This enables better user experience for my product. I'm not sure if its possible to do this, but I imagine there would be a way to do this. Any help would be much appreciated! Thanks
  2. Hi, I am wanting to make the top navigation item (the folder) selectable and be able to be redirected to its own page, currently it cannot be selected, only the dropdown navigations can be selected. I have multiple folders and dropdown items, I have tried all the codes from various forums and still no luck, I have never used code before so this is very new to me, hopefully you might be able to help me. I am using version 7.1 and the template is Pazari. My website url is: https://sabu-studio.squarespace.com/ The password is:123456789 I am wanting to link furniture-folder to: https://sabu-studio.squarespace.com/furniture and lighting-folder to: https://sabu-studio.squarespace.com/lighting I have tried the following code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.header-nav-folder-title[href="/furniture-folder"]').click(function() { window.location = "https://sabu-studio.squarespace.com/furniture"; }); $('.header-nav-folder-title[href="/lighting-folder"]').click(function() { window.location = "https://sabu-studio.squarespace.com/lighting"; }); </script> Am I doing this correctly? Thanks for your help! Sabu
×
×
  • Create New...