Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #892288
    bcoplin
    Participant

    Is there a way to easily create (with css and class field) a row in which the content inside each column scales with the size of the screen and keeps its proportions?

    I set up the text on the left and the image on the right but depending on the screen size it looks different. There will end up being a gap under the photo or the text touching the bottom of the row.

    I want to make it so the image always fills from top to bottom with no margin and the text stays centered and equal margin on all sides.

    If i use gaps it doesn’t work either so I think this needs custom css.

    Thank you in advance!

    #893111
    Rupok
    Member

    Hi there,

    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. Once you have provided us with your URL, we will be happy to assist you with everything.

    #894396
    bcoplin
    Participant
    This reply has been marked as private.
    #895209
    Paul R
    Moderator

    Hi,

    Please remove the padding in your columns then add this in the style field of both columns where your text and image resides.

    display:inline-block; vertical-align:middle;

    Hope that helps

  • <script> jQuery(function($){ $("#no-reply-892288 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>