Centering Featured products and the header for publisher theme

I am trying to center the two products I have on my site but they are to the left right now. Alongside the title that is labeled 11/24. I am using the publisher theme and can’t find a solution to this.

This is my site https://agrnyc.com/ and the password is “greatpassword”

1 Like

Hey @AuGeR

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hi @AuGeR

I hope you are well. You can follow our instructions below:

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
Step 3: Copy the code below and paste it there

Here is the code for Step 3:

ul.grid.product-grid {
    justify-content: center !important;
}
.collection__title h2.title.inline-richtext.h1 {
   text-align: center !important;
}

Please let me know if it works. Thank you!

Best,

Daisy - Avada Support Team.

Hello @AuGeR

Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.

.collection__title.title-wrapper.title-wrapper--no-top-margin.page-width {
text-align: center !important;
}
#Slider-template--23666771558699__featured-collection {
justify-content: center;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

Thanks this worked flawlessly

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.