- This topic has 5 replies, 2 voices, and was last updated 5 years, 4 months ago by Skandha.
-
AuthorPosts
-
December 18, 2018 at 7:14 am #161739TrevorParticipant
Hi,
I have set up slider on my homepage.
I preferred a smaller image so I set all images for 602 x 320 (see Old image slide).
They all worked well.
I then decided to change some images and uploaded them, set them to 602 x 320 in the Media Library.
Then I went to each page and changed the featured image to the new one.
However it is not working in the slider. The old slides are displaying at 602 x 320 but the new ones are displaying at a larger (original size).
Please see two images here DropBox Catch Themes Folder
December 18, 2018 at 11:20 pm #161784SkandhaParticipant@trevor: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
#slider-section .attached-post-image.wp-post-image [ width:602px; }
Let me know if this is what you want!
Kind Regards,
SkandhaDecember 19, 2018 at 12:15 pm #161865TrevorParticipantHi Skandha,
I keep having error codes and CSS will not let me save it.
I appreciate what you are doing but why do you think I am having problems just with new images, is there something I should be doing?
December 20, 2018 at 12:30 am #161906SkandhaParticipant@trevor:: My apologies there was a small error in the code I provided you. Please replace this bracket
[
in the previous code with this{
. This should works out!Let me know if this does the trick!
Kind Regards,
SkandhaDecember 20, 2018 at 4:10 am #161922TrevorParticipantHi Skandha,
No problems, I did try various changes as prompted but gave up.
They say “if you have a problem, sleep on it”
I woke up this morning with an idea of why the old images worked, but the newer versions did not.
I had loaded the old slides in the smaller size I wanted (620 x302).
However, when I checked the New Slides, I had uploaded them in the original size (1920 x 1080) and then SCALED them to 602 in the media library.
Although in the “Featured Image” of each page they showed as 602 it seems the slider was using the original size.
I deleted all the larger slides. Uploaded another set in the 602 size and it worked.
It would seem the slider is ignoring the SCALING in Media Library.
Thanks for all your help and hope my revelation helps your end.
Trevor
December 20, 2018 at 10:47 pm #161986 -
AuthorPosts
- The topic ‘Slider Image Size’ is closed to new replies.