Plugin Author
Ajay
(@ajay)
Please try:
.crp_title { display:block; }
-
This reply was modified 5 years, 8 months ago by
Ajay.
Thanks so much Ajay! I’ve tried adding the code in a few places to change how the widget displays post titles, but it doesn’t seem to have worked yet (after clearing the cache etc.):
– in the Custom CSS section of the plugin under ‘Styles’
– in the ‘default-style.css’ file in my Cpanel:
.crp_related .crp_title {
color: #fff !important;
position: absolute;
display: block;
bottom: 0;
padding: 3px;
font-size: .9em;
text-shadow: .1em .1em .2em #000;
background-color: rgba(0, 0, 0, 0.5);
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
display:block
}
– in the ‘default-style.css’ file in my Cpanel (by adding a new line):
.crp_related .crp_title { display:block; }
Am I adding the code in the wrong spot? My apologies if that’s the case and I’m complicating things.
Many thanks,
Simon
Plugin Author
Ajay
(@ajay)
The custom CSS section under styles is perfect place to add it. Can you please add that and save the page and then let me know so I can take a look?
Many thanks for this and I have added the code in the custom CSS section: https://ibb.co/9nJR5PT. However, in the widget the post title still appears right next to the image, without any space between image and post title: https://www.greatestgamemusic.com/soundtracks/top-gear-2-soundtrack/. Thank you for your patience!
Plugin Author
Ajay
(@ajay)
Hi,
Sorry for the delay.
I checked your site and the code doesn’t show up. Is it because you don’t have a wp_head by any chance because of the theme?
Is there anywhere else in your theme you can add this code? Maybe in Customize > Custom CSS/styles?
No worries at all and adding it under ‘Customize’ has worked beautifully, thank you for all your help!