-
AuthorPosts
-
April 30, 2015 at 8:43 pm #437770
Hi,
I have a color section with 2 column layout element and min. height set in pixels.
Text alone is perfect in middle:
http://gyazo.com/e29e5d41c022b568f05db0fd890baf65But as soon i add something like an image or slider etc. to the second column – the text in the first column is no longer vertical centered:
http://gyazo.com/54a16c58a886abbd2017aa7284c07c25How can I have text and image have vertical in center?
Thanks for your help
PeterMay 1, 2015 at 9:25 pm #438281Hey pegasso4444!
Add a whitespace / separator element above your text to move it down a bit.
Regards,
ElliottMay 11, 2015 at 8:28 am #442251This reply has been marked as private.May 14, 2015 at 3:38 pm #444340Hi!
it looks ok for me on iPad and iPhone, but what do you mean with vertical aligned text? can you show us a screenshot of what you want to achieve? so we get a clear idea and can provide you some precise CSS. However, if you want to make a custom layout for mobile you need to use media querries: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/
Regards,
AndyMay 18, 2015 at 1:55 pm #445633Hey!
attached you see a screenshot. On the left is what I have and on the right you see what I try to get.
In Words: I need a color section with 2 column layout where the image and the text always stays vertical in the middle on all devices.
Thanks for your help
PeterMay 18, 2015 at 1:56 pm #445634Hey!
attached you see a screenshot. On the left is what I have and on the right you see what I try to get.
In Words: I need a color section with 2 column layout where the image and the text always stays vertical in the middle on all devices.screenshots
Demo Site
Thanks for your help
Peter- This reply was modified 9 years, 6 months ago by pegasso4444.
May 21, 2015 at 3:06 pm #447751May 21, 2015 at 9:51 pm #448023Hi,
Here is the new screenshot:
http://gyazo.com/1db9b7aa29ca0f6d072b4b5513a2f474The Link to the site:
http://igenius-design.com/igenius-is-responsive/
Best regards,
Peter- This reply was modified 9 years, 6 months ago by pegasso4444.
May 23, 2015 at 5:44 am #448887Hey Peter!
Set a minimum height to those Color Sections or use a Grid Row element with center alignment.
Best regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.