Would you be able to share the styling/options used to create the category text overlay and clean images without padding and borders (as pictured). It's something I've always wanted to do on my personal site






Code: Select all
.pg-csv-box,
.pg-cv-box {
padding: 0 !important;
height: auto !important;
box-shadow: none;
}
.pg-icon-detail {
margin-top: -30px;
padding-right: 5px;
color: #fff;
}
.counter {
display: none !important;
}
.ph-icon-category,
.ph-icon-download,
.ph-icon-view {
color: #fff !important;
font-weight: bold;
}
.pg-cvcsv {
border: 0;
padding: 10px;
}
.pg-csv-name-i {
margin-top: -36px;
background:rgba(0,0,0, 0.5);
padding: 5px 10px;
font-size:120%;
position:relative;
border-radius: 0 0 3px 3px;
}
.pg-csv-name-i a {
color: #fff !important;
font-weight: bold;
}
.pg-box3 img {
box-shadow: rgba(50, 50, 93, 0.4) 0px 6px 12px -2px, rgba(0, 0, 0, 0.7) 0px 3px 7px -3px;
border-radius: 3px;
}









Code: Select all
.pg-csv-box,
.pg-cv-box {
padding: 0 !important;
height: auto !important;
box-shadow: none;
}
.pg-cv-name {
margin-top: -30px; /*change to fit*/
color: #fff;
}

Code: Select all
.pg-categories-box {
display: flex;
flex-wrap: wrap;
align-items: bottom;
}
.pg-category-box {
/*display: flex;
flex-direction: column;
justify-content: flex-end;*/
border: 1px solid #f0f0f0;
margin: 0.5em;
position:relative;
}
.pg-category-box-image img{
border-radius: 3px;
box-shadow: rgba(50, 50, 93, 0.4) 0px 6px 12px -2px, rgba(0, 0, 0, 0.7) 0px 3px 7px -3px;
}
.pg-category-box-title {
position: absolute;
bottom: 0em;
left: 0em;
padding: 0.5em;
color: #fff;
font-weight: bold;
background: rgba(0,0,0,.5);
width: 100%;
border-radius: 0 0 3px 3px;
font-size: 115%;
}
.pg-category-box-count {
font-size: small;
color: #d0d0d0;
}
.pg-category-box-title a {
color: #fff;
text-decoration: none;
}
