Okay
  Public Ticket #1273193
H2 define a minimum column height with an image
Closed

Comments

  •  1
    Wolfgang started the conversation

    I have a row with two columns. On the left side is some text, on the right side is no content except for a full background image. The right column has "Scale Background Image To Column" and "Equal height" checked, so the image height is defined by the text content in the left column.

    I would like to define a minimum height for the right column, regardless of how little text may be in the left column. How would I do that? Thanks!

  •  9,014
    Tahir replied

    Hey,

    Please provide the page url so that i can write up the custom css for whats possible.

    Thanks


    ThemeNectar Support Team 

  •   Wolfgang replied privately
  •  9,014
    Tahir replied

    Hey Again,

    Try adding column padding in the image column and see if it makes a difference .

    Be.st


    ThemeNectar Support Team 

  •   Wolfgang replied privately
  •  1
    semmyds replied

    Would be nice to know how you resolved this as I have the same issue. Can you shed some light support guys?

  •  1
    Wolfgang replied

    Not resolved yet..

    When I add "min_height="350px" in the image code, it works. But it would be overwritten in VC when I change something. I wonder where would I add this code using the Visual Composer?

  •  1
    Wolfgang replied

    I think I almost have it. I gave the columns an extra class and put this in the page CSS:

    .sevenimages {
        min-height : 550px;
    }

    In the columns I entered "sevenimages" as the class name.

    However, I guess I still have to add a media query to make the image smaller on a mobile device.


  •  1
    semmyds replied

    @Wolfgang

    In case you still looking for a solution. I got the below from the support team and it worked for me. Apply that to the row if you have your columns in a row

    .fixed-height-cols .wpb_column {

        min-height: 450px!important;
    }

    you can adjust that number accordingly.


    Cheers




  •  1
    Wolfgang replied

    Thanks semmyds, is this command responsive?

  •  1
    semmyds replied

    Dont know,. Didn't ask and never tested.