Jump to content

Customising CSS: Opening Sidebar Menu on Hover Instead of Clicking

Recommended Posts

Hi Squarespace community!

We're currently in the process of expanding our product range and optimising our website for a better user experience. As part of this effort, we've introduced subcategories to help our users easily navigate through our products.

However, we've identified an opportunity for improvement and would love some advice from the community. Is it possible to configure our sidebar menu to open subcategories on hover instead of requiring a click? This change could streamline the browsing experience for our customers, allowing them to quickly access the categories they're interested in without the extra step of clicking.

We understand that this approach may not be suitable for every website, but we're exploring the idea of adding a slight delay to the hover effect to mitigate any potential issues. We're eager to hear your thoughts and suggestions on how we can achieve this customisation.

Thank you in advance for your help!

image.thumb.png.686746727e19d42aac61cc925765c7a7.png

Link to comment
  • Replies 5
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 5/6/2024 at 7:07 AM, SOJU said:

Hi @tuanphan,

 

Thanks for getting back to me. The link for our website is: https://www.soju.com.au/

You can use this code to Website > Website Tools > Custom CSS

li.category-item ul {
    display: none;
}
li.category-item:hover ul {
    display: block;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.