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.
A user seeks to left-align header text, copy, and buttons on hero slider elements in the Berlin theme, which are currently center-aligned.
Solution Provided:
A community member offers CSS customization steps:
.slideshow-slide__text and .slideshow-slide__desc.richtext__content classesAdditional Requests:
The original poster asks about:
Status: The discussion appears resolved with working CSS code provided, though the helper notes the solution is tested only on the demo theme and may require adjustments for the live store.
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
check this one.
.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!