Places - Listing View
Give your Places feature a stylish, different look!
Please be advised that we are not able to customise or adjust this CSS for you, however the input process is straight forward - please copy and paste the following code at the bottom of the Colours section (at the very bottom of that page):
__________________________________________________________________________________
/*Places - View*/
ion-view[state="places-view"] {
z-index: 9 !important;
}
ion-view[state="places-view"] ion-content {
top: 0px !important;
background-color: white !important;
}
ion-view[state="places-view"] ion-content div.scroll > div.list.place-header > div > div.place-title {
left: 10%;
}
ion-view[state="places-view"] ion-content div.scroll > div.list.place-header {
margin-bottom: 0px;
padding: 0px;
overflow: hidden;
}
ion-view[state="places-view"] ion-content div.scroll > div.list.place-header > div.item.item-image.cover-place {
-webkit-animation: kenburns-top 5s ease-out infinite alternate-reverse both;
animation: kenburns-top 5s ease-out infinite alternate-reverse both;
}
@-webkit-keyframes kenburns-top {
0% {
-webkit-transform: scale(1) translateY(0);
transform: scale(1) translateY(0);
-webkit-transform-origin: 50% 16%;
transform-origin: 50% 16%;
}
100% {
-webkit-transform: scale(1.25) translateY(-15px);
transform: scale(1.25) translateY(-15px);
-webkit-transform-origin: top;
transform-origin: top;
}
}
@keyframes kenburns-top {
0% {
-webkit-transform: scale(1) translateY(0);
transform: scale(1) translateY(0);
-webkit-transform-origin: 50% 16%;
transform-origin: 50% 16%;
}
100% {
-webkit-transform: scale(1.25) translateY(-15px);
transform: scale(1.25) translateY(-15px);
-webkit-transform-origin: top;
transform-origin: top;
}
}
ion-view[state="places-view"] ion-content div.scroll > div.place-blocks.place-blocks-portrait > div > div > div.card {
box-shadow: none;
margin: 10px;
}
ion-view[state="places-view"] ion-content div.scroll > div.place-blocks.place-blocks-portrait > div > div > div.card div.sb-cms-block-address > div {
background-color: #009fe3;
color: white;
border-radius: 10px;
margin-bottom: 5px !important;
}
ion-view[state="places-view"] ion-content div.scroll > div.place-blocks.place-blocks-portrait > div > div > div.card div.sb-cms-block-address > div p,
ion-view[state="places-view"] ion-content div.scroll > div.place-blocks.place-blocks-portrait > div > div > div.card div.sb-cms-block-address > div a {
color: white;
}
ion-view[state="places-view"] ion-content div.scroll > div.place-blocks.place-blocks-portrait > div > div > div.card > div > div.item.item-text-wrap.item-custom.sb-cms-text {
padding: 0px;
}
ion-view[state="places-view"] ion-content div.scroll > div.place-blocks.place-blocks-portrait > div > div > div.card > div > div.item.item-text-wrap.item-custom.sb-cms-text a {
display: block;
text-align: center;
padding: 15px;
background-color: #33cd5f;
border-radius: 10px;
color: white !important;
font-size: 16px;
font-weight: bold;
-webkit-animation: color-change-4x 3s steps(2, end) infinite alternate-reverse both;
animation: color-change-4x 3s steps(2, end) infinite alternate-reverse both;
}
@-webkit-keyframes color-change-4x {
0% {
background: #19dcea;
}
33.3333% {
background: #b22cff;
}
66.666% {
background: #ea2222;
}
100% {
background: #f5be10;
}
}
@keyframes color-change-4x {
0% {
background: #19dcea;
}
33.3333% {
background: #b22cff;
}
66.666% {
background: #ea2222;
}
100% {
background: #f5be10;
}
}
ion-view[state="places-view"] ion-content div.scroll > div.place-blocks.place-blocks-portrait > div > div > div.card > div > div.item.item-text-wrap.item-custom.sb-cms-text p {
color: black;
text-align: justify;
}
.module-places .cover-place .place-title .span-title {
background: none !important;
color: transparent;
max-width: calc(100vw + 2px);
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25rem 2vh 0.25rem 2vh;
display: hidden;
}
.module-places .cover-place .place-title .span-title {
background: none !important;
color: transparent;
max-width: calc(100vw + 2px);
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25rem 2vh 0.25rem 2vh;
display: inline-block;
}
.module-places .cover-place .place-title .span-title {
background: none !important;
color: transparent;
max-width: calc(100vw + 2px);
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25rem 2vh 0.25rem 2vh;
display: inline-block;
}
.module-places .cover-place .place-title .span-title {
background: none !important;
color: transparent;
max-width: calc(100vw + 2px);
overflow: hidden;
text-overflow: ellipsis;
padding: .25rem 2vh .25rem 2vh;
display: inline-block;
}
.module-places .cover-place .place-title .span-subtitle {
font-size: 0.75rem;
background: none !important;
color: transparent;
max-width: calc(100vw + 2px);
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25rem 2vh 0.25rem 2vh;
display: inline-block;
}
__________________________________________________________________________________
NOTES:
Elements in BOLD can be updated.
- Colours - you can replace the HEX codes with the required colours. You can use section tags in BOLD see what section CSS element belongs to.
- URLs - you can upload your images using Image Uploader within Modules > Image Uploader. Use the generated URLs and replace the current image URLs in BOLD.