Collection Title is centered on desktop but not mobile | Dawn

Also would it be possible to center the “drop 1.2.3” text as well.

@minoritywetrust

Please share your store URL!

Thanks!

www.theminoritynyc.com

Hi @minoritywetrust Please add the code in your theme.css/base.css/style.css file which is available in your theme.

.title-wrapper-with-link.title-wrapper--self-padded-tablet-down.title-wrapper--no-top-margin {
    justify-content: center !important;
}

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

Regarding Changing the Text: You can change the text by editing it through the collection as it seems like you have attached your collections in this section and the text is rendering from there.

If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!

Best Regards

Sahil

Hi @minoritywetrust

Please add this code to your theme.liquid file, after , in Online Store > Themes > Edit code


1 Like

Hello @minoritywetrust

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (min-width:767px){ .title-wrapper-with-link { justify-content: center !important; align-items: center !important; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

thank you kindly.

1 Like

Very welcome!