How to Show Post Title under Featured Images
-
I recently activated this plugin on my website.
https://www.ads-software.com/plugins/contextual-related-posts/
Everything is OK, Plugins is great and works well.
I have edit the css code that you provide here on github.
https://github.com/WebberZone/contextual-related-posts/blob/master/css/default-style.css
to something like this:
.crp_related {
clear: both;
margin: 10px 0;
}
.crp_related h3 {
margin: 0 !important;
}
.crp_related ul {
list-style: none;
float: left;
margin: 0 !important;
padding: 0 !important;
}
.crp_related li, .crp_related a {
float: left;
overflow: hidden;
position: relative;
text-align: center;
}
.crp_related li {
padding: 2px;
}/*.crp_related a {
width: 150px;
height: 150px;
text-decoration: none;
}*/
.crp_related a:hover {
text-decoration: none;
}
/*.crp_related img {
max-width: 150px;
margin: auto;
}*/
.crp_related .crp_title {
position: absolute;
bottom: 160px;
left: 6px;
/* width: 144px; = 150px – (3px * 2) */
color: #fff;
font-size: .9em;
}
.crp_clear {
clear: both;
}
Now I want to show the title of post under the featured image.
screenshot is here:
Thanks,
Here is the page of website where related posts are showing.
https://www.toptenic.com
- The topic ‘How to Show Post Title under Featured Images’ is closed to new replies.