Vertical Aligning a Paragraph - Post...
I basically want a picture on the right and to the left of it a paragraph of text vertically aligned centrally to that picture. Have set every single element to ‘middle’ in the position setting - but the paragraph always stays aligned at the top… I’m sure it is something simple I’m not doing right….
I can get the paragraph to align left, centre, right and justify - but can't get it to align vertically. In the Position pane there are options to align baseline, middle, top, bottom etc. It's this I don't seem to be able to get to work....
Goto the container you want your text Vertically Aligned. Set the Display property to Flex. Then set the Items to center.
If I have understood the matter correctly, the problem is vertical alignment of a paragraph. I have done it as follows.
(a) There are the following: a Slides Container and a Slide. Into the Slide I placed a 'container set', being a Master 1-1 Container element (which is a container with two 50%-width containers in it).
(b) I placed the paragraph in the left such inner container, and the picture in the right inner container.
(c) In the Position section of the Design panel I set the Master 1-1 container to Display:Table.
(d) In the Position section of the Design panel I set the inner containers to Display:Table-cell, and the Vertical Align of those inner containers to 'middle'.
I don't use the content slider, but attached I have a working code. Maybe you are able to use it in RCS.
Added later: I see that Steve is mentioning flex. I wasn't aware that flex can be used in RCS. But if that is possible, it's much easier than what I wrote.
Thanks also for the reply Steve - although I couldn't find the Flex property. Will keep searching...
Still looking for the Flex Display Property. Not sure it is an option with RCS...
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.