Problem: I would like to create a parallax effect using an image that was uploaded to a custom field.
Solution: There's no way to set up Parallax effects directly with Views or Types. You can access the URL of an image from a custom field with the wpv-post-field shortcode. You can use that shortcode in your HTML to specify a background image for a div like this:
<div style="background-image:url('[wpv-post-field name='wpcf-lifestyle-image']'); width:100%; height:200px;"></div>
This type of custom interface requires custom code, which falls outside the scope of the support we provide here.
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-field
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 3 replies, has 2 voices.
Last updated by 6 years, 11 months ago.
Assisted by: Christian Cox.
The forum ‘Types Community Support’ is closed to new topics and replies.