Jump to content

How can I separate drop down folder contents from the folder itself and the others in the folder. Inserted code is effecting entire folder contents.

Recommended Posts

Site URL: https://www.onlyrural.co.uk/

Hi there!

I have inserted css to rotate active menu items so they are upside down to create a subtle effect, but when I'm on any individual page in the drop down folder, all navigation links in the folder are rotated meaning they are all upside down and pretty unreadable. 

I would love this only to effect the active page within the folder.  

Even if the folder button itself (Projects) is upside down and then the single active page in that folder also, that'd be fine.. 

Hoping anyone can help..

Thanks!

 

Here's the code I've entered:

/* Nav item active transform */
.header-nav-item--active a {
  transform: rotateZ(180deg) !important; }

 

 


854028930_Screenshot(2).thumb.png.339004c820f7885b8ca0136c9c524e7a.png

Link to comment
  • Replies 2
  • Views 193
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.