- August 25, 2015 at 10:28 am #10562
Wonder if you can tell me if its possible to display different slide show / featured image pictures when switching between landscape / portrait when mobile.
The slide show looks great on desktop with landscape but not with portrait pics. however on mobile the site looks great with portrait pictures until you change the orientation of the screen.
I appreciate any advice.
Mike.August 25, 2015 at 12:15 pm #10571
To see what you mean care to show us the website.
ShriAugust 25, 2015 at 12:35 pm #10572
Yup the site is http://premiere-photography.com/
Need to know if i can display landscape only pictures on the slide show and featured image when viewing on desktop. and portrait only pictures when viewing on mobile.
Mike.August 25, 2015 at 12:39 pm #10574
That would be difficult to do what you are asking. Instead we have have it fit always for any device.
Go to appearance>editor>functions.php and then search fit_always change from 0 to 1
Search fit_portrait change from 1 to 0.
Now the images would fit any kind of screen.
ShriAugust 25, 2015 at 12:40 pm #10575
Actually the above instructions won’t apply because its already always_fit 1 on your theme and its what is default
ShriAugust 25, 2015 at 12:45 pm #10578
Yeah ive changed that already.
Yes i was thinking it would hard to do. i even thought of making a second site
m.premiere-photography.com with portrait only images in the slider and featured images and adding a redirect script when coming from a mobile device. but 2 sites? would that work? can you pull text content if install in the same database?August 25, 2015 at 1:01 pm #10580
Can be done but tedious unnecessarily.
You must be logged in to reply to this topic.