Site logo

Archived topic

Change alignment of single menu item

3 replies · Started by Deepak on July 15, 2021

Viewing posts 1–4 of 4

Hello Team,

I am using "Navigation as Header" for my website with "Dropdown Direction" as Right.

The problem is the last menu sub item gets hidden in the browser due to this setting. Is it possible to set the dropdown direction as left but only for the last child of menu.

I have given a sample page with similar setting. Please observe the last menu's sub item alignment compared to others. I want similar for my website.
For the last menu's sub item, the text should be right aligned and the dropdown direction towards left.

Regards
Deepak

Hi David,

is this css code still working proper?
On my page the submenu opens not to the left, but on top of the menu item I'm hovering.

(I tried it on 2 different webpages: WordPress 5.9.2; GP Premium Version 2.1.2)

Thanks
Andy

Hi Andy - that code should still work. But it maybe the menu structure thats the issue.
If you want to raise a new topic where you can share a link to the problematic site i can take a look.

This archived topic is closed to new replies.