I need to position the text precisely centred inside the green area, while keeping the photo and the purple box floating as it is now…can’t wrap my head around how to do that?
Hey @radmitry , The issue is with
Logo-img within your
Brand linkbox container. It had a negative margin of
97, if you remove this margin, the text is centered.
Thanks @imtiazraqib , this way it is centred relative to the purple box, but what I need is for it to appear centred between the left edge of the purple box and the left edge of the photo.
Ok, I figured it out, I set the parent element to flex horizontal, and set the Text and the photo to static and set text to “grow if possible” in the flex child setting.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.