Highlighting box

Solved

Highlighting box

Holly18
Excursionist
20 0 3

Hi there,

I would really appreciate some help. I would like to highlight the 'Free shipping' section on my product page. I think putting the text and icon in a coloured box would work well. Could someone please advise how I could do this?

 https://salourlingerie.com/products/rochelle-bodysuit

Thanks!

Accepted Solution (1)

Tech_Coding
Shopify Partner
309 80 71

This is an accepted solution.

Hello @Holly18 

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>
  .product-form__text-icon.pt2.mb2 {
      background-color: #f0f8ff;
      padding: 15px;
      border: 2px solid #0099cc;
      border-radius: 5px;
      display: flex;
      align-items: center;
      margin: 20px 0;
  }
</style>

Tech_Coding_0-1727684104244.png

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

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Replies 3 (3)

BSSCommerce-B2B
Shopify Partner
1734 520 583

@Holly18 ,

Step 1: Go to Admin -> Online store -> Theme > Edit code

Step 2: Search for the file theme.liquid

Step 3: Add this code before </body> tag

<style>
#product-description > div.product-form__text-icon.pt2.mb2 {
    border: 1px solid black!important;
    padding: 8px 16px!important;
}
</style>

Result:

BSSCommerceB2B_0-1727684043869.png

If it helps you, please like and mark it as the solution.

Best Regards 😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Tech_Coding
Shopify Partner
309 80 71

This is an accepted solution.

Hello @Holly18 

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>
  .product-form__text-icon.pt2.mb2 {
      background-color: #f0f8ff;
      padding: 15px;
      border: 2px solid #0099cc;
      border-radius: 5px;
      display: flex;
      align-items: center;
      margin: 20px 0;
  }
</style>

Tech_Coding_0-1727684104244.png

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

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

Moeed
Shopify Partner
5432 1470 1756

Hey @Holly18 

 

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-form__text-icon.pt2.mb2 {
    background: lightgray !important;
    padding: 10px !important;
    border-radius: 20px !important;
}
</style>

RESULT:

Moeed_0-1727684135416.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 Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications