End of Support for Joomla 3 - Forum closed
Background Image
What is the way to render this background image in the main-outer div, using the custom.css?
.main-outer {
background: #c8ebf7 !important;
background-image: url("images/grrad3.png"); /* The image used */
background-color: #c8ebf7 !important;
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
}
.tm-content {
padding: 15px;
background: none;
}
.main-outer {
background: #c8ebf7 !important;
background-image: url("images/grrad3.png"); /* The image used */
background-color: #c8ebf7 !important;
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
}
.tm-content {
padding: 15px;
background: none;
}
Last Edit:5 years 10 months ago
by dlong
Last edit: 5 years 10 months ago by dlong.
The topic has been locked.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Live Url and more details what do you want to do?
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
The topic has been locked.
Hello,
I am just wanting a stretched background image (grad3.png) to cover the white area encompassing the .main-outer, while allowing that background image to show through the .tm-content.
I have one such stretched background here: egknights.org/index.php/en/activities/then-and-now
I am just wanting a stretched background image (grad3.png) to cover the white area encompassing the .main-outer, while allowing that background image to show through the .tm-content.
I have one such stretched background here: egknights.org/index.php/en/activities/then-and-now
by dlong
The topic has been locked.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Hallo,
der css code stimmt, der Pfad zum bild aber nicht
der css code stimmt, der Pfad zum bild aber nicht
Attachment maxt_3.jpg not found
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Attachments:
The topic has been locked.
Moderators: joomlaplates