Tagged: x
-
AuthorPosts
-
June 20, 2016 at 4:22 pm #1051452
bedingfieldParticipantHi there,
I used the following to remove the border from featured images. Problem is, with border removed, the images are slightly undersize now. Is there a way of making them wider to accommodate the border no longer being there?
http://elyrunners.club/2016/04/30/thames-path-100/
Thank you
June 20, 2016 at 9:23 pm #1051832
John EzraMemberHi there,
Thanks for writing in! How did you remove the borders exactly? Simple CSS to hide borders should not mess with the image sizes? Are you able to reverse what you did so we can provide you with CSS to simply remove the borders without it affecting the images sizes? Thanks!
June 21, 2016 at 12:02 am #1051963
bedingfieldParticipantHi there,
I used…
.entry-featured { border:0;I have now taken this CSS off my child style sheet.
June 21, 2016 at 1:42 am #1052037
John EzraMemberHi there,
Thanks for updating the thread! Your code is the correct one actually. Also once the border is removed the image takes up the difference in space on my end. Not sure what you are seeing on your end.
You could also try this instead:
.entry-featured { border:none; }It should be the same and if you are not seeing what you want, please do let us know – thanks!
June 21, 2016 at 2:12 pm #1053044
bedingfieldParticipantHi there,
I am finding with either code that the image in not taking up the difference in space. I have cleared caches etc.
http://elyrunners.club/2016/04/30/thames-path-100/
do you see the featured image slightly smaller?
Thank you.
June 21, 2016 at 2:44 pm #1053097
DarshanaModeratorHi there,
You can add this under Custom > CSS in the Customizer.
.entry-featured { padding: 0; }Hope that helps.
June 21, 2016 at 3:10 pm #1053151
bedingfieldParticipantPerfect. That was it. Thank you so much.
Karl
June 21, 2016 at 3:27 pm #1053170
JoaoModeratorGreat to hear it Karl.
Let us know if you need help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1051452 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
