Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Need help with alignment of text in text boxes on Shopify Home Page on image banner

Need help with alignment of text in text boxes on Shopify Home Page on image banner

Dd82
Visitor
2 0 1

My website is dansdogshop.com.  If you look at my home page you'll see the following text on my image banner

Plenty of all-natural, preservative-free treats and desserts

Made from simple, healthy ingredients

Even the pickiest eaters will love our delicious flavors

Each line is in a separate text box on my image banner. I had wanted to insert a bulleted list here, but apparently i can't add that to an image banner unless there is a way to code it in there? So I created 3 separate text boxes and put hyphens in front of each line instead. Trying to see if there is a way to fix the text I posted above so there is no line skipping after each line and the text is aligned so the text in each line starts directly beneath the line above it? I have attached my image banner liquid file. Appreciate any help!

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9052 2163 2669

Hi @Dd82 

Like this? 

Made4uoRibe_0-1728855703552.png

If it is, 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:

 

.banner__text.rte.subtitle p:before {
    content: '• '; 
    font-size: 2rem; 
    color: black; 
    margin-right: -0.5rem; 
}

 

  • And Save.

 

 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 ⚙️.
Dd82
Visitor
2 0 1

Yeah adding that code put the bullet points in there. Is there a way to align the bullet points so they are directly in line one right below the other one? If not, it's not a big deal. I appreciate your help!