You are here

README.txt in Entity background 7

The Image sub-module allows a user to add a background image to entities.

The module works by adding CSS directly into the HTML page.

`.paragraphs-item-3{background-image:url(http://example/images.jpg;}`

`.paragraphs-item-3{background-position:center center;background-repeat:no-repeat;background-size:cover;}`

## Installation

**Make sure you have followed the instructions in README.txt in the parent module.**

No extra modules are required.

## Change Image Style

The image style used for the background image can be changed by going to "admin/config/system/entity_background_image"

File

module/entity_background_image/README.txt
View source
  1. The Image sub-module allows a user to add a background image to entities.
  2. The module works by adding CSS directly into the HTML page.
  3. `.paragraphs-item-3{background-image:url(http://example/images.jpg;}`
  4. `.paragraphs-item-3{background-position:center center;background-repeat:no-repeat;background-size:cover;}`
  5. ## Installation
  6. **Make sure you have followed the instructions in README.txt in the parent module.**
  7. No extra modules are required.
  8. ## Change Image Style
  9. The image style used for the background image can be changed by going to "admin/config/system/entity_background_image"