Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Split content/Image background size

Home / Forums / Virtue Theme / Split content/Image background size

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
April 8, 2019 at 7:58 am

Hey,

I have a question. I need to create fullwidth stretched rows with 2 cells/columns, basically like the split content module (an image on one side, text with a button on the other, reaching across the whole screen). My problem is that regardless of whether I use the split content shortcode or write my own code, I eitehr have the images cut off depending on the screen size if I use background-size:cover, or if I use background-size:contain there will be a white gap between the two cells at the point when the screen gets too large.

Do you have a tip or know how I can have both? Meaning: images are always displayed without getting cut off, but still they are always covering the whole cell?

Thanks!

  • The forum ‘Virtue Theme’ is closed to new topics and replies.