Site logo

Archived topic

Automatically Open Submenus on the Left for Rightmost Menu Items

7 replies · Started by litesprint on February 20, 2020

Viewing posts 1–8 of 8

To do this automatically, it would require constant javascript listening, which isn't good for performance at all.

It's much better performance-wise to use the manual method outlined in that article. Is the CSS still active on your site?

It's now working as intended with the CSS and the custom class.

Great to hear :)

Hi,

After switching to SVG based icons from font icons, the icons for the right-most submenu items are changed. Didn't change anything in the CSS. In other words, the arrow is now pointing towards the right instead of left.

Hi there,

Give this a shot:

.dropdown-hover .open-left .sub-menu .dropdown-menu-toggle .gp-icon svg {
    transform: rotate(90deg);
}

Perfect! Thanks Tom!

You're welcome :)

This archived topic is closed to new replies.