Prestige theme: center feature with icon

Solved
carlajickie
Excursionist
31 0 4

Hi, I have just started using the feature with icon on Prestige, however there is no option to center it without a code... see below its the line with ONEY logo... i'd like it centered below the BUY BUTTONS.

 

Screenshot 2023-11-08 at 14.26.28.png

 

anyone can help? thanks a lot

 

website www.jickie.co

password : nuxl

 

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4089 937 1143

This is an accepted solution.

Hi @carlajickie 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

#shopify-section-template--20077799014748__main > div > div > div > safe-sticky > div > div:nth-child(5) {
    text-align: center !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1699570496865.png

     

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 6 (6)
Moeed
Shopify Partner
3046 758 920

Hey @carlajickie 

 

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 </body> tag

 

<style>
.product-info__block-item:is([data-block-type=feature-with-icon] {
    text-align-last: center !important;
}
</style>

 

RESULT:

Moeed_0-1699450501494.png

 

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

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
carlajickie
Excursionist
31 0 4

sorry it does not work

suyash1
Shopify Partner
8656 1062 1406

@carlajickie - add this css to the very end of your theme.css file and check

 

.product-info__block-item:is([data-block-type=feature-with-icon]{text-align: center;}
You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly

Support me 🙂
PageFly-Oliver
Navigator
479 92 87

Hi @carlajickie ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

 

 

<style>
.product-info__block-item:is([data-block-type=feature-with-icon]{text-align: center !important;}
</style>

 

 

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

 

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Made4uo-Ribe
Shopify Partner
4089 937 1143

This is an accepted solution.

Hi @carlajickie 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

#shopify-section-template--20077799014748__main > div > div > div > safe-sticky > div > div:nth-child(5) {
    text-align: center !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1699570496865.png

     

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


carlajickie
Excursionist
31 0 4

thanks it works