Submenu Alignment not working right

Hello,

I am having trouble getting my submenu to align. It seems to be centering on the entire page instead of underneath the actual drop down item. I tried uber menu which solved the drop down issue on the desktop but was atrocious on the mobile menu.

Attached is an image of my layout issue.

Hi There,

To make the sub-menu align center below the menu item, please add this custom CSS under Theme Options > CSS:

.masthead-inline .x-navbar .desktop .sub-menu {
    left: 50%;
    margin-left: -100px;
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Let us know how this goes!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.