Tagged: x
-
AuthorPosts
-
March 23, 2016 at 3:47 am #849208
Hi There!
I was wondering if it was possible to change the style of the promo box to having the text on the right, or left of the image instead of directly below the image. In other words to have it horizontal rather than vertical. I can’t seem to figure out a way to do this..
Thanks for any suggestions. I am using the integrity stack
March 23, 2016 at 4:15 am #849230Hi Nick,
Please add custom-promo on the Promo element class field.
Then add the following CSS on Appearance > Customize > Custom > CSS:.custom-promo .x-promo-image-wrap { display: inline-block; width: 50%; } .custom-promo .x-promo-content { display: inline-block; width: 50%; }
Hope this helps.
March 23, 2016 at 4:25 am #849245Thanks very much. Is there a way to get the image and text to be level?
March 23, 2016 at 4:46 am #849274This reply has been marked as private.March 23, 2016 at 4:59 am #849285Hi Nick,
You’re welcome! 🙂
To show the image and text in the same level, use this CSS code instead:
.custom-promo .x-promo-image-wrap { display: inline-block; width: 50%; vertical-align: top; padding-top: 23px; } .custom-promo .x-promo-content { display: inline-block; width: 50%; }
Hope this helps. 🙂
Thank you!
March 23, 2016 at 5:17 am #849300Like a charm. Thanks again for the great support as usual
March 23, 2016 at 5:57 am #849334You’re very welcome 🙂
If you need anything else, please let us know.
-
AuthorPosts