Forked from oooh-boi/gist:a2e47433443125887d20aafd5cec7388
Created
November 16, 2020 15:59
-
-
Save stephanesdr/b7922f5641fa102d1462aaf35d626893 to your computer and use it in GitHub Desktop.
OoohBoi Video Tutorial : Full-height Image Widget in Elementor PRO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* be sure to copy-paste to the Image Widget Custom CSS panel */ | |
selector, | |
selector .elementor-widget-container, | |
selector .elementor-image, | |
selector .elementor-image > a { | |
height: 100%; | |
} | |
selector .elementor-image img { | |
object-fit: cover; | |
object-position: 50% 50%; | |
height: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment