Magnin, Megamenu Dropdown Always On Center - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Magnin, Megamenu Dropdown Always On Center

Yofie Setiawan

Yofie Setiawan

Template 2 years ago

Hi,

Can i get help with css hack to always center (instead of align right) the megamenu dropdown?

https://ibb.co/bJ796mf

https://yopdesign.com/demo/absoluteracing/en/

0
4 Answers
Pavel
Pavel
Accepted Answer
2 years ago #135435

Hi. Here is

.sp-megamenu-parent,
.sp-megamenu-parent > li {
    position: static;
}
.sp-dropdown.sp-dropdown-main.sp-dropdown-mega.sp-menu-center {
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding-inline: 10%;  /*optional*/
}
0
Yofie Setiawan
Yofie Setiawan
Accepted Answer
2 years ago #135444

Hi,

Thanks Pavel.

Do you know why the content inside that dropdown cant be center as well?

https://ibb.co/kcwTPSj

0
Yofie Setiawan
Yofie Setiawan
Accepted Answer
2 years ago #135453

Anway, i found the problem, fixed now thanks..

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #135461

Hi Yofie Setiawan,

Glad that your issue has been solved already.

Thanks goes to @Pavel:)

Best Regards

0