Hallo zusammen
Wir haben auf folgender Seite via Custom CSS ein Grid-Layout (Kachel-Design auf der Home) erstellt (Impreza 5.1 & WPBakery 5.4) https://www.epd-shop.com/de/ - das funktioniert alles einwandfrei.
Ich möchte nun den gleichen Custom CSS Code auf folgender Seite nutzen (Impreza 6.2.1 & WPBakery PageBuilder 6.0)
): https://www.hck-mikronaehrstoffe.ch/
Das funktioniert soweit auch alles gut bis auf ein Befehl der es ermöglicht, dem Hintergrund einen Gradient zu verpassen - das will auf der hck-mikronaehrstoffe.ch/ einfach nicht funktionieren - Hier der Befehl:
Code
background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,.5), rgba(0,0,0,.75));
Warum funktioniert der identische Code auf der einen Seite und auf der anderen nicht?
Der Gesamte Custom CSS sieht so aus - Vielen DANK!!
CSS
/* GRID - 15.05.2019 */
/* card settings */
section#hero {
margin-top: 25px;
}
@media(max-width: 480px ) {
.vc_column-inner.vc_custom_1532522626472 .subtitle {
bottom: 96px !important;
}
.vc_column-inner .first .subtitle {
bottom: 96px !important;
}
}
[url='https://wpde.org/system/user/?userID=10206']@Media[/url] screen and (max-width: 600px) {
#produkte .l-section-h {
padding: 0;
}
}
.card {
position: relative;
padding: .5rem;
}
.card > .vc_column-inner {
padding: 1rem !important;
border-radius: 2px;
margin: 0;
background-size: cover;
height: 100%;
}
.card > .vc_column-inner > .wpb_wrapper {
height: 100%;
}
#hero .card {
height: 300px;
margin-bottom: 0.5rem;
}
.card-button {
text-transform: uppercase;
letter-spacing: 2px !important;
border-radius: 50px !important;
z-index: 20;
}
.card-button.first {
background-color: rgb(133, 106, 77) !important;
}
.card-button.first .w-btn-label {
color: #fff !Important;
}
.card-button.first i {
color: #fff !Important;
}
.card-button {
background-color: #fff !IMPORTANT;
}
.card-button .w-btn-label {
color: #000 !Important;
}
.card-button i {
color: #000 !Important;
}
.card > .vc_column-inner .ult-content-box-container{
position: absolute;
bottom: 2.5rem;
left: 2.5rem;
right: 1.5rem;
}
.card > .vc_column-inner:before {
content: '';
position: absolute;
top: .5rem;
left: .5rem;
right: .5rem;
bottom: .5rem;
border-radius: 2px;
background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,.5), rgba(0,0,0,.75));
}
.card h3.title {
color: white;
padding: 0;
margin: 0;
}
.card .subtitle {
color: #eee;
letter-spacing: 1px;
position: absolute;
bottom: 2.5rem;
}
.card .subtitle-line {
content: '';
position: absolute;
top: .25rem;
left: 0;
width: 2px;
height: calc(100% - .5rem);
background-color: #eee;
}
.card .subtitle-text {
margin-left: .75rem;
}
/*
.card-shadow > .vc_column-inner {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.card.shadow > .vc_column-inner:hover {
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
*/
#hero .card .title,
#newsletter .card .title,
#usp .card .title,
#produkte .card .title {
position: absolute;
bottom: 2rem;
}
#hero .card .subtitle,
#usp .card .subtitle,
#produkte .card .subtitle {
left: 1.5rem;
right: 1.5rem;
bottom: 4.5rem;
}
.hero-row {
margin-bottom: 0 !important;
}
/* hero section settings */
#hero .card {
height: 300px;
}
/* produkte section settings */
#produkte .card {
height: 300px;
}
#produkte .card > div {
background-position: bottom;
}
.button-ghost:hover, a.button-ghost:hover {
color: #009fe3 !important;
}
Alles anzeigen