Responsive alignment

Hi everybody,
I’m trying to have Img/H1/txt/Btn one over the other left aligned on desktop and centered on mobile.
So I change the alignment that i did set up on desktop for centered on mobile view. It works perfect for the Img/H1, but Txt and Btn keeps the mobile setup when returning on desktop view.
Is this a bug or am I missing something?

Hello Jean Pierre

As far as I know it is not possible to do formatting within the text field for different screen sizes.

You have to assign a class to the text field and then apply the formatting via CSS code.

For example:

.your-css-class {
	@media screen and (max-width: $breakpoint-xs) {
        text-align: center;
	}
}
1 Like

Yes, how strange…
Same for the button.