Center add to cart button in collection Dawn theme

Solved

Center add to cart button in collection Dawn theme

Multicoloruni
Excursionist
16 0 2

Hi there! I'm trying to center the add to cart button (which is currently on the left side) on both the feature collection display and the collection page, but nothing seems to work... I'd greatly appreciate help with this! Thank you very much! Below, a screenshot of how it looks right now. And if it's possible to also increase a bit the size of the price and remove the underlying when "hoovering" on the product name, that would be so amazing.

Captura de pantalla 2024-08-22 a las 11.12.12.png

Accepted Solutions (2)

dws_pvt_ltd
Shopify Partner
287 54 79

This is an accepted solution.

Hello @Multicoloruni, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. open "quick-add.css"
6. Add the following code at the end of the file. 

Find the CSS with .quick-add class.

 

.quick-add {
    position: relative;
    grid-row-start: 4;
    margin: 0 0 1rem; /* this is old CSS, remove or comment this CSS */
    margin: 0 auto; /* this is new CSS, add this CSS */ 
    z-index: 1;
}

 

 

See the screenshot below,

Screenshot from 2024-08-22 14-57-37.png

dws_pvt_ltd_0-1724319018309.png

 

 

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

View solution in original post

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @Multicoloruni 

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 </body> on theme.liquid
<style>
  .quick-add {
      margin: 0 auto !important;
   }
    .underline-links-hover:hover a {
       text-decoration: none !important;
    }
    span.price-item.price-item--regular {
       font-size: 25px !important;
    }
</style>

niraj_patel_0-1724319422497.png

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

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 7 (7)

dws_pvt_ltd
Shopify Partner
287 54 79

Hello @Multicoloruni, Please share your store URL and password.
So that I will check and let you know the exact solution here.

 

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

 

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

Hung5
Shopify Partner
8 0 1

how to provide url shop.

dws_pvt_ltd
Shopify Partner
287 54 79

This is an accepted solution.

Hello @Multicoloruni, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. open "quick-add.css"
6. Add the following code at the end of the file. 

Find the CSS with .quick-add class.

 

.quick-add {
    position: relative;
    grid-row-start: 4;
    margin: 0 0 1rem; /* this is old CSS, remove or comment this CSS */
    margin: 0 auto; /* this is new CSS, add this CSS */ 
    z-index: 1;
}

 

 

See the screenshot below,

Screenshot from 2024-08-22 14-57-37.png

dws_pvt_ltd_0-1724319018309.png

 

 

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @Multicoloruni 

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 </body> on theme.liquid
<style>
  .quick-add {
      margin: 0 auto !important;
   }
    .underline-links-hover:hover a {
       text-decoration: none !important;
    }
    span.price-item.price-item--regular {
       font-size: 25px !important;
    }
</style>

niraj_patel_0-1724319422497.png

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

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Multicoloruni
Excursionist
16 0 2

Thank you so much!! This worked perfectly and fixed all the 3 things I was mentioning!! I really appreciate your help.

Huptech-Web
Shopify Partner
909 186 189

Hello! @Multicoloruni  Please follow these steps to add this CSS code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file.

 

 body .quick-add {
   margin: 0 auto !important;
}

 

HuptechWeb_0-1724322192066.png

If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Best regards
K.K

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

steve_michael2
Excursionist
82 11 17

Hi @Multicoloruni , I hope you are doing well.

 


1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </body>

 

<style>
  .quick-add {
    position: relative;
    grid-row-start: 4;
    z-index: 1;
}
</style>

 

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Crafting exceptional online experiences with innovative design and technology.