Home › Forums › Calendar Products › Events Calendar PRO › Featured image is resized to smaller size
- This topic has 8 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
December 17, 2015 at 3:42 pm #1043233
Arnie
ParticipantI added a featured image to the event list image by added the suggested code in my functions file. I changed the thumbnail size in the wordpress media setting to 300 x 150. But when I display the list, the featured image, which is 300×150, gets reduced to 213×107. http://mje.onrushdigital.com/classes/
I want the images to display at their normal thumbnail dimensions!
Thank,
Arnieps – I’m using the Enfold theme
December 18, 2015 at 11:04 am #1043721Geoff
MemberHey there, Arnie!
Thanks for reaching out and welcome to the forums.
It looks like the source code for the featured images are correct. For example:
<img src="http://mje.onrushdigital.com/wp-content/uploads/2015/12/DSC02544-495x400.jpg" width="495" height="400" title="" alt="" class="avia_start_animation">However, the container for the image itself is not wide enough to display the entire image and CSS is resizing it to make sure that it does. In fact, if you resize the browser window from wide to narrow and back again, you can see how the image changes size to adjust to the layout.
Does this make sense and help clarify things a bit? Please let me know.
Thanks!
GeoffDecember 18, 2015 at 11:26 am #1043738Arnie
ParticipantIs the eventscalendar widget code creating the extra padding between the images or is it the theme? I already made the container 100%.
December 21, 2015 at 8:03 am #1044745Geoff
MemberLooks like it’s coming from the theme. Here’s the class I found that adds 7px of padding to the images:
#top div .avia-gallery imgRemoving the padding from that pushing them all together when I tested it out.
Cheers!
GeoffDecember 23, 2015 at 7:03 am #1045949Arnie
ParticipantHow did you find that?
I added this:
#top div .avia-gallery img{
padding: 0px !important;
}but it didn’t change anything.
December 23, 2015 at 7:18 am #1045956Geoff
MemberI found that using the DevTools inspector in Chrome. We have a pretty handy article that explains how to use it and I’d suggest checking it out.
Geoff
December 23, 2015 at 7:25 am #1045960Arnie
ParticipantThanks. I know how to use inspector. I just didn’t find that ID anywhere in that area of the page.
December 23, 2015 at 11:50 am #1046057Geoff
MemberHmm, it was there before but now I am not seeing it either. What class/ID are you seeing that affect the images?
February 18, 2016 at 8:33 am #1076392Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Featured image is resized to smaller size’ is closed to new replies.
