Always Fill Screen on pages/posts, Fit Always on product view
-
WP-Supersized version 3.1.5
Hi guys,
I’m trying to make the products single view page to use wp-supersized from displaying the product images, pulled from wp media gallery (custom post type ‘product’ in woocommerce). Product images should be ‘fit always’ to avoid cropping. I got this working (thanks to the custom post type thread here).
The whole website is also using wp-supersized for the large image background stretched across the screen by choosing ‘always fill screen’.
https://saintmontys.com/indyk/
The problem is I can’t change the ‘fit image’ option differently from other pages and post types.
I tried to play with XML file options but the problem with this approach is:
– I can’t set it up on the front page
– I don’t want to set it up for each post/page manually individually. It has to have a default (less work).
– Choosing XML file in the products pages will not use the wp media gallery. I need it to pull images from what is attached to the posts.Is there a way to make it default to ‘always fill screen’ on everything, except on product pages where I want it ‘fit always’? Thanks!
- The topic ‘Always Fill Screen on pages/posts, Fit Always on product view’ is closed to new replies.