Adding a section

Solved

Adding a section

Lunix_I
Tourist
11 0 0

Hi,

 

Please is anyone offering a code for this section, we are using dawn Theme and there is no option to add this without coding, since I don't know that if someone can help with it, and provide me the code and the place where should post it. I'm 0 exp in coding btw. I tried everything but I can't.

 

Lunix_I_0-1729080981914.png

 

Accepted Solution (1)
namphan
Shopify Partner
2572 335 380

This is an accepted solution.

Hi @Lunix_I,

After you add section, you just need to add CSS code here, it will display well:

Screenshot.png

Code:

.multicolumn-list__item .media {
    padding-bottom: 30% !important;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

View solution in original post

Replies 20 (20)

rajweb
Shopify Partner
757 65 139

Hey @Lunix_I ,

Could you share your store URL so I can check?

Rajat | Shopify Expert Developer
Need a reliable Shopify developer for your next project?
Dash Drop App: https://apps.shopify.com/dash-drop-delivery
Email: rajat.shopify@gmail.com
Portfolio: https://rajatweb.dev

ProductifyGroups App:  Shopify App - Product Variants
Lunix_I
Tourist
11 0 0

rajweb
Shopify Partner
757 65 139

@Lunix_I 

To Add Section,

Follow these steps:

1. Online Store > Themes > Edit Code 

2. Create a new section > Name the new section features.liquid

Add the Code to the New Section:

In the newly created features.liquid file, paste the following code:

 

<div class="features-section" style="display: flex; justify-content: space-around; padding: 20px;">
  <div class="feature" style="text-align: center;">
    <img src="{{ 'free-shipping.png' | asset_url }}" alt="Free Shipping" style="width: 100px; height: 100px;"/>
    <h4>Free Shipping</h4>
    <p>Get free shipping on all orders over $50!</p>
  </div>
  <div class="feature" style="text-align: center;">
    <img src="{{ 'secure-payment.png' | asset_url }}" alt="Secure Payment" style="width: 100px; height: 100px;"/>
    <h4>Secure Payment</h4>
    <p>Your payment information is safe with us.</p>
  </div>
  <div class="feature" style="text-align: center;">
    <img src="{{ 'full-refund.png' | asset_url }}" alt="Full Refund" style="width: 100px; height: 100px;"/>
    <h4>Full Refund</h4>
    <p>If you're not satisfied, we offer a full refund.</p>
  </div>
  <div class="feature" style="text-align: center;">
    <img src="{{ 'online-support.png' | asset_url }}" alt="Online Support" style="width: 100px; height: 100px;"/>
    <h4>Online Support</h4>
    <p>We're here to help you 24/7.</p>
  </div>
</div>

<style>
  .features-section {
    background-color: #f9f9f9;
  }
  .feature {
    flex: 1;
    padding: 10px;
  }
</style>

 

After adding the section, make sure to save your changes in the theme editor.

 

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

Best Regard,

Rajat Sharma

Rajat | Shopify Expert Developer
Need a reliable Shopify developer for your next project?
Dash Drop App: https://apps.shopify.com/dash-drop-delivery
Email: rajat.shopify@gmail.com
Portfolio: https://rajatweb.dev

ProductifyGroups App:  Shopify App - Product Variants
Lunix_I
Tourist
11 0 0

I did exactly like you said, and clicked save, but nothing changed at the store it's the same like I didn't even add any code.

 

Lunix_I_0-1729084199952.png

 

EvinceDev
Shopify Partner
121 13 13

Hello @Lunix_I , Use this code with responsive, 

Go through these steps:

1. Online Store > Themes > Edit Code 

2. Create a new section > Name the new section features.liquid

<div class="service-section">
        <div class="service-item">
            <img src="https://images.pexels.com/photos/26065715/pexels-photo-26065715/free-photo-of-hand-of-a-woman-holding-a-white-flower.jpeg?auto=compress&amp;cs=tinysrgb&amp;w=1260&amp;h=750&amp;dpr=1" alt="Free Shipping Icon">
            <h3>Free Shipping</h3>
            <p>Free worldwide shipping</p>
        </div>
        <div class="service-item">
            <img src="https://images.pexels.com/photos/26065715/pexels-photo-26065715/free-photo-of-hand-of-a-woman-holding-a-white-flower.jpeg?auto=compress&amp;cs=tinysrgb&amp;w=1260&amp;h=750&amp;dpr=1" alt="Secure Payment Icon">
            <h3>Secure Payment</h3>
            <p>Safe money ordering with us</p>
        </div>
        <div class="service-item">
            <img src="https://images.pexels.com/photos/26065715/pexels-photo-26065715/free-photo-of-hand-of-a-woman-holding-a-white-flower.jpeg?auto=compress&amp;cs=tinysrgb&amp;w=1260&amp;h=750&amp;dpr=1" alt="Full Refund Icon">
            <h3>Full Refund</h3>
            <p>30-days window returns</p>
        </div>
        <div class="service-item">
            <img src="https://images.pexels.com/photos/26065715/pexels-photo-26065715/free-photo-of-hand-of-a-woman-holding-a-white-flower.jpeg?auto=compress&amp;cs=tinysrgb&amp;w=1260&amp;h=750&amp;dpr=1" alt="Online Support Icon">
            <h3>Online Support</h3>
            <p>24/7 Support available</p>
        </div>
    </div>

Result for desktop , tablet , mobile : 

EvinceDev_0-1729084531209.pngEvinceDev_1-1729084565146.pngEvinceDev_2-1729084581315.png

 

Shopify Theme Advanced Backend Developer and Debugger
Want to modify or develop new app, Hire us.
If our Answer is helpful then please Like and Accept Solution!
I am an eCommerce and Marketing Technology consultant based in India.
To inquire about consulting work availability, You can reach me on Skype by live: rahul.evince or mail on partners@evincedev.com.
Shopify Apps URL :- https://apps.shopify.com/partners/gemfind1
Customization on Shopify Theme | Shopify App Development | SEO & Digital Marketing
Lunix_I
Tourist
11 0 0

The code is wrong, shopify gives errors 

EvinceDev
Shopify Partner
121 13 13

Hello @Lunix_I , The code I provided earlier was just HTML. To make the service section dynamic and manageable via Shopify, please try this Liquid code:

 

 

<div class="service-section">
  {% for service in section.settings.services %}
    <div class="service-item">
      {% if service.image != blank %}
        <img src="{{ service.image | img_url: 'medium' }}" alt="{{ service.title }} Icon" loading="lazy">
      {% endif %}
      <h3>{{ service.title }}</h3>
      <p>{{ service.description }}</p>
    </div>
  {% endfor %}
</div>

 

Implementation Instructions:

  • Create a New Section: In your Shopify theme, go to the Sections directory and create a new file named service-section.liquid.

  • Insert the Code: Copy the Liquid code provided above into the new file.

  • Add to Your Theme: You can include this section in your desired template by using the following Liquid tag:

 

{% section 'service-section' %}

 

This setup will allow you to manage the services directly from the Shopify admin panel, where you can easily add, remove, or update service items.

If you have any further questions or need additional assistance, feel free to ask!

 

 

Shopify Theme Advanced Backend Developer and Debugger
Want to modify or develop new app, Hire us.
If our Answer is helpful then please Like and Accept Solution!
I am an eCommerce and Marketing Technology consultant based in India.
To inquire about consulting work availability, You can reach me on Skype by live: rahul.evince or mail on partners@evincedev.com.
Shopify Apps URL :- https://apps.shopify.com/partners/gemfind1
Customization on Shopify Theme | Shopify App Development | SEO & Digital Marketing
Lunix_I
Tourist
11 0 0

I didn't notice this, I will try it right now thx

Dan-From-Ryviu
Shopify Partner
11537 2258 2440

Did you try to add section Icon With Text? 

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Lunix_I
Tourist
11 0 0

There is no section named Icon with text in dawn.

namphan
Shopify Partner
2572 335 380

Hi @Lunix_I,

You can try 'Multicolumn' section, it will help you display well

Screenshot.png

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
Lunix_I
Tourist
11 0 0

I didn't notice this, I will try it right now

namphan
Shopify Partner
2572 335 380

Hi @Lunix_I,

After you try adding it, if it doesn't show 100% fine, I will help you edit it

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
Lunix_I
Tourist
11 0 0

I just try to add the Icons, but I can't.

 

the image is too big, even the size was 100x100 so it's an Icon but it shows too big, is there any solution for this please?

 

thank you in advance

Lunix_I
Tourist
11 0 0

Lunix_I_0-1729256119879.png

 

namphan
Shopify Partner
2572 335 380

Hi @Lunix_I,

You can add it again and send me the site link, I will check and guide it

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
Lunix_I
Tourist
11 0 0

That's how the Icon looks like, Too big.

 

I'm not able to make save because isn't designed well, store is active.

namphan
Shopify Partner
2572 335 380

This is an accepted solution.

Hi @Lunix_I,

After you add section, you just need to add CSS code here, it will display well:

Screenshot.png

Code:

.multicolumn-list__item .media {
    padding-bottom: 30% !important;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
Lunix_I
Tourist
11 0 0

Thank you so much, it's work and looking too great.

 

thanks for your following with me, So glad for your help sir. ❤️

namphan
Shopify Partner
2572 335 380

Hi @Lunix_I,

You're welcome and it's nice to meet you 😊

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com