Fooer menu first item not aligned - dawn theme

My footer menu in my dawn theme will not align the first element with others, also it isn’t centered on the page (horizontally)

https://blublu.ca/password

Password is : saghoo

2 Likes

Hi @blublu ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result :

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

@blublu ,

Step 1. Go to Admin → Online store → Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code above


Result:

Hi @blublu

There is a code to prevent it not aligning.

Check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

@media screen and (min-width: 750px) {
    .footer-block__details-content>:first-child .list-menu__item--link {
        padding-top: .5rem !important;
    }
}

And Save.

result:

Made4uoRibe_0-1725375409568.png

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

It isn’t working, the footer menu’s first item is still higher. Would it work if I deleted the menu item and created it anew?

1 Like

Works!!! Great!! Now on mobile the menu is all stacked tough instead of nicely aligned.

@blublu , I think it’s ok

Now on mobile the menu is all stacked tough instead of nicely aligned. Can you help me please?

1 Like

Thank you!! Now on mobile the menu is all stacked tough instead of nicely aligned.

@blublu , if you want this on mobile

Please change the previous code like this


1 Like
@media screen and (min-width: 750px) { .footer-block__details-content>:first-child .list-menu__item--link { padding-top: 0.5rem!important; } } Here is what I have now and it works. But the menu is now left aligned... I tried adding this right after: ``` .footer { text-align: center; } ```

didn’t work..

1 Like

Hi @blublu ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

So here is what chatgpt helped me do and it worked!!

@media screen and (min-width: 750px) { .footer-block__details-content { display: flex; justify-content: center; /* Centers the menu horizontally */ align-items: center; /* Vertically centers the items (if needed) */ } .footer-block__details-content>:first-child .list-menu__item--link { padding-top: 0.5rem!important; } }
1 Like