Issue with Custom liquid field

Solved

Issue with Custom liquid field

jahin2
Excursionist
30 1 5

we have used a custom liquid to create below field in home page,

 

jahin2_0-1734629535106.png


texts are aligned left side. recently i have updated the images to new ones. after that the text alignment on 2nd image is off on full screen desktop view. See below,

jahin2_1-1734629667279.png

Can some one please help me correct this issue.

 

below is the code used in CSS liquid,

<div class="custom-liquid-banner">
<ul>
<li>
<img src="https://cdn.shopify.com/s/files/1/0906/5650/6170/files/Human_White.png?v=1734536200" />
<span>
<h3>Choose your favourite photo</h3>
<p>Upload a favourite photo with your order ( we accept 98% of all photos!) Our team will always reach out if your photo isn't right.</p>
</span>
</li>

<li>
<img src="https://cdn.shopify.com/s/files/1/0906/5650/6170/files/Customize_White.png?v=1734536198"/>
<span>
<h3>Customize & make it your own</h3>
<p>Add your name, choose a background color, customize the style, and select a frame & size.
</p>
</span>
</li>

<li>
<img src="https://cdn.shopify.com/s/files/1/0906/5650/6170/files/delivery_White.png?v=1734536195" />
<span>
<h3>Sit tight!</h3>
<p>Once you submit your order, our artists get to work on digitally-illustrating your portrait, expect to recive your custom portrait within 1-2 weeks.</p>
</span>
</li>
</ul>
</div>


store URL is: https://qcnphvtdabbetgfd-90656506170.shopifypreview.com

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9552 2276 2823

This is an accepted solution.

Hi @jahin2 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.image-with-text__content .custom-liquid-banner li {
    justify-content: unset;
}

 

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

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

Guleria
Shopify Partner
3944 791 1120

Hello @jahin2 ,

 

 

If you keep equal text in all paragraphs then it will fixed automatically.

Try to add few more words here 
<p>Add your name, choose a background color, customize the style, and select a frame & size.
</p>

and it will fixed.

 

Regards
Guleria

 

- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
jahin2
Excursionist
30 1 5

Thankyou @Guleria 

Made4uo-Ribe
Shopify Partner
9552 2276 2823

This is an accepted solution.

Hi @jahin2 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.image-with-text__content .custom-liquid-banner li {
    justify-content: unset;
}

 

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

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
jahin2
Excursionist
30 1 5

Thanks for the help @Made4uo-Ribe