php js css php js css

Changes

Changes to Design template: Design #2 - Posts List

217956
Today 12:42am
Guevarra, Kim
Modified design template
217957
Today 12:42am
Guevarra, Kim
Modified design template
Html:
Design Id:
16
16
Component Class:
\Components\Website\Posts
\Components\Website\Posts
Id:
list
list
Default Variation:

															

														
Css:
.flexContainer,
.templateContainer--websitePosts-list-custom,
.templateContainer--websitePosts-list-default {
padding: 0;
margin: 0;
display: flex !important;
justify-content: center;
-webkit-flex-flow: row wrap;
gap: 20px;
}

.post-card {
width: 408px;
display: flex;
flex-direction: column;
position: relative;
background: #fafafa;
border: 2px solid rgba(239, 239, 239, 0.594);
border-radius: 10px;
}

.post-image {
position: relative;
}

.post-image img {
width: 100%;
height: 200px;
object-fit: cover;
transition: filter 0.5s;
}

.post-card:hover .post-image img {
filter: brightness(0.2);
}

.post-overlay-link {
position: absolute;
top: 50%;
left: 0;
right: 0;
text-align: center;
transform: translateY(-50%);
display: none;
}

.post-card:hover .post-overlay-link {
display: block;
}

.post-overlay-link a {
color: #fff;
font-weight: 600;
letter-spacing: 1px;
}

.post-content {
padding: 30px;
}

.post-category-title
{
position: absolute;
top: 20px;
right: 30px;
}

.post-category-title small {
background: #d2042d;
color: #fff;
padding: 2px 8px;
font-size: 0.7rem;
font-weight: bold;
text-transform: uppercase;
display: inline-block;
margin-bottom: 10px;
}

.post-content h4 {
font-weight: 600;
font-size: 1.2rem;
margin: 10px 0;
}

.floating-link {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.post-button
{
position: absolute;
bottom: 30px;
left: 30px;
color: #d1000a;
text-align: center;
background-color: ;
border: 1px solid #d1000a;
border-radius: 0px;
padding: 10px;
}
.flexContainer,
.templateContainer--websitePosts-list-custom,
.templateContainer--websitePosts-list-default {
padding: 0;
margin: 0;
display: flex !important;
justify-content: center;
-webkit-flex-flow: row wrap;
gap: 20px;
}

.post-card {
width: 408px;
display: flex;
flex-direction: column;
position: relative;
background: #fafafa;
border: 2px solid rgba(239, 239, 239, 0.594);
border-radius: 10px;
}

.post-image {
position: relative;
}

.post-image img {
width: 100%;
height: 200px;
object-fit: cover;
transition: filter 0.5s;
}

.post-card:hover .post-image img {
filter: brightness(0.2);
}

.post-overlay-link {
position: absolute;
top: 50%;
left: 0;
right: 0;
text-align: center;
transform: translateY(-50%);
display: none;
}

.post-card:hover .post-overlay-link {
display: block;
}

.post-overlay-link a {
color: #fff;
font-weight: 600;
letter-spacing: 1px;
}

.post-content {
padding: 30px;
}

.post-category-title
{
position: absolute;
top: 20px;
right: 30px;
}

.post-category-title small {
background: #d2042d;
color: #fff;
padding: 2px 8px;
font-size: 0.7rem;
font-weight: bold;
text-transform: uppercase;
display: inline-block;
margin-bottom: 10px;
}

.post-content h4 {
font-weight: 600;
font-size: 1.2rem;
margin: 10px 0;
}

.floating-link {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.post-button
{
position: absolute;
bottom: 30px;
left: 30px;
color: #d1000a;
text-align: center;
background-color: ;
border: 1px solid #d1000a;
border-radius: 0px;
padding: 10px;
}