Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #266081

    Hi,
    forgive me but I’m very new to wp, php and css.
    I’ve created 2 columns (layout element).
    One with an image in it. The other one with a text block.
    How could I vertical align one with the other, so that the image is vertical aligned with the text or vicecersa.
    Please help, Andrea.
    URL: http://www.andagio.it/sermasrl/?page_id=10
    It’s a test page for testing.

    #266117

    Hi fanky75!

    Please see – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
    After you add custom class to your elements, you can simply add a custom CSS code in Quick CSS in Enfold theme options under General Styling tab as following

    .custom-class { margin-top: 10px; }

    Regards,
    Yigit

    #577817

    But adding margin-top is not good on mobile, it creates space. Why dont “vertical-align:middle” work? Thanks.

    #577820

    Hey!

    You can change the code to following one to apply it only on desktops

    @media only screen and (min-width: 990px) {
    .custom-class { margin-top: 10px; }}

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.