Berlin Theme - How to Left Align Header, Copy and Button on Slider

Berlin Theme - How to Left Align Header, Copy and Button on Slider

EmmaHilton1984
Tourist
7 0 2

Hello, 

Looking to left align the text on the hero intro sliders - around where the highlited box is

At present they are all centre and base on design would be better suited to the left, left alighted and nearer the bottom.

Screen Shot 2024-07-09 at 17.48.41.pngideal.png


Replies 8 (8)

Moeed
Shopify Partner
6530 1773 2145

Hey @EmmaHilton1984 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


EmmaHilton1984
Tourist
7 0 2

Hi Moeed,
The design isnt live as yet its still in customisation mode so nothing to show until that goes live.

EmmaHilton1984
Tourist
7 0 2

This is the demo theme i'm using if that helps any;-

https://themes.shopify.com/themes/berlin/styles/marble/preview

 

Made4uo-Ribe
Shopify Partner
9567 2278 2826

Hi @EmmaHilton1984 

check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.slideshow-slide__text {
    margin-left: 2% !important;
    margin-bottom: 5% !important;
    padding-bottom: 0px !important;
}

 

  • And Save,
  • Result:
  • Made4uoRibe_0-1720557880770.png

     

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

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 ⚙️.
EmmaHilton1984
Tourist
7 0 2

Hi thanks for this - can the text be left aligned also?

Made4uo-Ribe
Shopify Partner
9567 2278 2826

Check this one then, same instruction.

.slideshow-slide__desc.richtext__content {
    text-align: left;
    margin-left: 0;
}
.slideshow-slide__text {
    margin-left: 5%;
    margin-bottom: 5%;
    padding-bottom: 0px;
    text-align: left;
}

And Save. 

Result:

Made4uoRibe_0-1720560460230.png

 

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 ⚙️.
EmmaHilton1984
Tourist
7 0 2

Is there a way to break the text seen as <br> isnt accepted

Made4uo-Ribe
Shopify Partner
9567 2278 2826

We cannot control what words must be break what we can add width so it wouldn't  much words on the top. 

I add code on the this. 

 

.slideshow-slide__desc.richtext__content {
    text-align: left;
    margin-left: 0;
}
.slideshow-slide__text {
    margin-left: 5%;
    margin-bottom: 5%;
    padding-bottom: 0px;
    text-align: left;
    width: 80rem;
}

 

And Save. 

And the thing is Im only using the demo theme. It may not be working on your store. 

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

 

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 ⚙️.