Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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 |
||||
|
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. |
||||
|
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 |
||||
|
|