-
AuthorPosts
-
August 13, 2015 at 5:46 am #358149
R.E. v
ParticipantHi,
I want to vertical center align an image next to a text in Cornerstone. Can anybody give the right code to do so?
Regards,
Rudolf.August 13, 2015 at 6:31 am #358191Paul R
ModeratorHi Rudolf,
You can add the code below in the style field of the 2 columns where your text and image resides.
display:inline-block; float:none; vertical-align:middle;
http://screencast.com/t/ibAYmeOkq
Please note that you need to enable advanced controls for the style field to show up.
Hope that helps.
August 13, 2015 at 7:32 am #358247R.E. v
ParticipantHi,
When i fill in this code nothing happens to the pic. It stays at the top of his container.
Regards,
Rudolf.August 13, 2015 at 10:05 am #358333Rupok
MemberHey Rudolf,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Also point us the section you are trying to modify. Once you have provided us with your URL, we will be happy to assist you with everything.
August 15, 2015 at 3:40 am #359751R.E. v
ParticipantThis reply has been marked as private.August 15, 2015 at 3:47 am #359754Christopher
ModeratorHi there,
Add
margin-top:10%;margin-bottom:10%
in style field of image element.Hope it helps.
August 16, 2015 at 3:35 am #360308R.E. v
ParticipantHi,
Thanks! Worked perfect!
Regards,
Rudolf.August 16, 2015 at 3:50 am #360310Christopher
ModeratorYou’re welcome.
October 17, 2015 at 9:16 am #629183KenDerGuru
ParticipantVery good support. It worked for me as well.
Thanks!October 17, 2015 at 9:24 am #629188Thai
ModeratorGlad it worked @kenderguru.
If you need anything else, please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-358149 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>