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
5 0 1

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
4359 1123 1377

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


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
EmmaHilton1984
Tourist
5 0 1

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

EmmaHilton1984
Tourist
5 0 1

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
6961 1654 2037

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
EmmaHilton1984
Tourist
5 0 1

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

Made4uo-Ribe
Shopify Partner
6961 1654 2037

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
EmmaHilton1984
Tourist
5 0 1

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

Made4uo-Ribe
Shopify Partner
6961 1654 2037

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.