Title: Image Module &#8211; CSS not working
Last modified: August 31, 2016

---

# Image Module – CSS not working

 *  Resolved [azimov](https://wordpress.org/support/users/azimov/)
 * (@azimov)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/image-module-css-not-working/)
 * My CSS not working with image module. I want resize image in % not in px, and
   i want to centered image by vertical. So I do this in my stylesheet.css, but 
   anything not working.
 * [https://wordpress.org/plugins/live-composer-page-builder/](https://wordpress.org/plugins/live-composer-page-builder/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [LiveComposer](https://wordpress.org/support/users/livecomposer/)
 * (@livecomposer)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/image-module-css-not-working/#post-7023232)
 * Hi there,
 * Can you please provide CSS code example? You can send it using service like [http://snippi.com](http://snippi.com).
 * Looking forward to solve this problem with you.
 *  Thread Starter [azimov](https://wordpress.org/support/users/azimov/)
 * (@azimov)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/image-module-css-not-working/#post-7023337)
 * It’s all okay now! I forgot to use !important in css file))
 *  Plugin Author [LiveComposer](https://wordpress.org/support/users/livecomposer/)
 * (@livecomposer)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/image-module-css-not-working/#post-7023340)
 * Great to hear that problem solved.
    Good luck with your project!
 *  [emilyatal](https://wordpress.org/support/users/emilyatal/)
 * (@emilyatal)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/image-module-css-not-working/#post-7023341)
 * Do you mind posting the code you used to get the images in image modules to center
   vertically? I’d like to do the same thing.
 *  Thread Starter [azimov](https://wordpress.org/support/users/azimov/)
 * (@azimov)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/image-module-css-not-working/#post-7023365)
 * i used this in css (but i have a fullscreen rows on my page, so this code for
   100vh (viewport height) only):
 * .class (or #id) {
    height: 100vh; padding-top: 40vh !important; text-align: center;}
 * if you want to have an adaptive size of image, so you can use this:
 * .class (or #id) img {
    height: 20vh !important; (but use your own height, if 
   you want) }

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Image Module – CSS not working’ is closed to new replies.

 * ![](https://ps.w.org/live-composer-page-builder/assets/icon.svg?rev=1415112)
 * [Live Composer - Free WordPress Website Builder](https://wordpress.org/plugins/live-composer-page-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/live-composer-page-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/live-composer-page-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/live-composer-page-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/live-composer-page-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/live-composer-page-builder/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [azimov](https://wordpress.org/support/users/azimov/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/image-module-css-not-working/#post-7023365)
 * Status: resolved