Display Order of Header Menu in Employee Center

Community Alums
Not applicable

I would like to change the order of the menus shown in the header menu of Employee Center, but I don't know how to do it.
Specifically, I would like to place "My favorites" and "Profile" to the right of "Tours".

If anyone knows how to change it, I would like to know.

1 ACCEPTED SOLUTION

After further investigation it looks like there is an issue with the loading order of these menu items. At random refreshed of the page, the menu items would snap back to their OOTB order. So I took a bit more of a heavy handed approach. But I did get this to work consistently. 

 

This is my cloned head widget:

Screenshot 2023-05-11 at 9.14.43 AM.png

Screenshot 2023-05-11 at 9.15.47 AM.png

Screenshot 2023-05-11 at 9.16.14 AM.png

 CSS in the widget

Screenshot 2023-05-11 at 9.16.41 AM.png

End result

Screenshot 2023-05-11 at 9.19.21 AM.png

View solution in original post

13 REPLIES 13

Hey there Takumi, 

 

I had the same issue. Checked out this article: https://css-tricks.com/content-jumping-avoid/ and used the min-height trick and this solved my problem. There is not tricky business in my screen shot, I simply loaded my portal and the Header loaded as you see.

Screenshot 2023-05-11 at 8.01.03 AM.png

You can see in my HTML that the Cart, Tours, and Wishlist appear before My Tasks and the rest of the menu items.

 

Screenshot 2023-05-11 at 8.01.56 AM.png

 

In my custom Style Sheet, this is the CSS I added to fix the "snapping" issue 

Screenshot 2023-05-11 at 8.10.41 AM.png

Hope this fixes the issue for you! BTW I am using Chrome for my browser. I haven't tested others just yet. 

I meant to highlight the .height-adjust class where the min-height property is being set. 

After further investigation it looks like there is an issue with the loading order of these menu items. At random refreshed of the page, the menu items would snap back to their OOTB order. So I took a bit more of a heavy handed approach. But I did get this to work consistently. 

 

This is my cloned head widget:

Screenshot 2023-05-11 at 9.14.43 AM.png

Screenshot 2023-05-11 at 9.15.47 AM.png

Screenshot 2023-05-11 at 9.16.14 AM.png

 CSS in the widget

Screenshot 2023-05-11 at 9.16.41 AM.png

End result

Screenshot 2023-05-11 at 9.19.21 AM.png

@Community Alums Have you had a chance to test out the method I provided?

 

Community Alums
Not applicable

@RodGallegos 

Thank you for your response.

Thanks to the method you gave me, I was able to solve the problem!