ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > RocketCake
forum topic indicator Changing Alignment with Breakpoint
person icon
bruce
Registered User
Quote
2026-03-28 12:15:16

Hello,

I've created a timeline on my website.

The text and the "flags" are alternately left- and right-aligned. However, once the width reaches 650 pixels, all the "flags" should be left-aligned. I tried to set this with a breakpoint. I used the code
text-align: left;
, but it doesn't seem to have any effect.

The flags that were previously right-aligned are still right-aligned below 650 pixels. Is there a way to change the alignment using a breakpoint?

https://neu.gasthof-kassel.de/ge...

Many thanks and best regards,
Bruce

person icon
niko
Moderator
Quote
2026-03-28 15:24:21

Hm, I think the text styles are more specific than your breakpoint in that case - you could manually add a breakpoint for that text style into the css overriding this - but once your css class will have a different name - and this will change likely if you add some more content - then it won't work again. So it's difficult.

person icon
bruce
Registered User
Quote
2026-03-30 19:39:58

Hi Niko,

I was hoping there was a more elegant way, but I ended up copying the "flags" and left-aligning them on the left side. Then I used breakpoints to show/hide them at the corresponding width.

Best regards, Bruce


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |