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

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.

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

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

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

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

Hi @EmmaHilton1984

check this one.

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. 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;
}

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

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

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:

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

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!