Struggling to center an item in the mega menu in phone view - dawn theme

Solved

Struggling to center an item in the mega menu in phone view - dawn theme

MagdalenaBB
Excursionist
37 0 11

Hello dear community! I can't seem to find a way to center the items below in the mega menu on phone view.

Anyone has any suggestions? Thank you in advance!
Website - MAISON MAGDALENA
Password - MaisonMagdalena.222

 

MagdalenaBB_0-1723748874780.png

MagdalenaBB_1-1723748933363.png

 

 

Accepted Solution (1)

PaulNewton
Shopify Partner
7279 641 1511

This is an accepted solution.

If using chrome browser press ctrl+shift+c to open the element inspector to help find the css selector to target an element for styling.

 

It should be

.menu-drawer__inner-submenu button.link--text {
 justify-content: center;
}

Alternatively override the flexbox

.menu-drawer__inner-submenu button.link--text {
 text-align: center;
 display: inline-block;
 width: 100%;
}

 

if your trying to position the arrow separately that selector should be ".menu-drawer__inner-submenu button.link--text svg" the selector.

 

 

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


View solution in original post

Reply 1 (1)

PaulNewton
Shopify Partner
7279 641 1511

This is an accepted solution.

If using chrome browser press ctrl+shift+c to open the element inspector to help find the css selector to target an element for styling.

 

It should be

.menu-drawer__inner-submenu button.link--text {
 justify-content: center;
}

Alternatively override the flexbox

.menu-drawer__inner-submenu button.link--text {
 text-align: center;
 display: inline-block;
 width: 100%;
}

 

if your trying to position the arrow separately that selector should be ".menu-drawer__inner-submenu button.link--text svg" the selector.

 

 

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org