CSS and Image Size
-
I am trying to set the thumbnail at 100%, so that it is equal to the width of the title. However, the css below is not working. Any suggestions?
.rp4wp-related-posts a {
color: #0000ff !important;
font-size:18px !important;
font-weight:normal !important
}
.rp4wp-related-posts ul{
width:100%;
padding:0;
bottom-margin:20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
grid-gap:10px
}
.rp4wp-related-posts ul>li{
list-style:none;
padding:0;
margin:0;
padding-bottom:0px;
clear:both;
}
.rp4wp-related-posts ul>li>p{
margin:0;
padding:0;
}
.rp4wp-related-post-image{
width:100%;
padding:0px;
float:none;
padding-bottom:10px;
}The page I need help with: [log in to see the link]
- The topic ‘CSS and Image Size’ is closed to new replies.