This topic is: not resolved
- This topic has 22 replies, 4 voices, and was last updated 5 years, 3 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Community Forums › Forums › Archived Forums › Design Tips and Tricks › AgentPress homepage slider
This is for Badlywired. I also need to make the home page background image "slide", and I utilized the code snippet you provided above:
change js/backstrech-set.js
to contain, and the paths to your own images
jQuery(document).ready(function($) {
$.backstretch([
"http://dl.dropbox.com/u/515046/www/outside.jpg"
, "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
, "http://dl.dropbox.com/u/515046/www/cheers.jpg"
], {duration: 3000, fade: 750});
});
This works awesome, however the initial load for the first image is extremely long, to the point of not usable. Any suggestions of how to get around this?
I'm giving my 5-year-old Agentpress site a slight update, you can see the dev site here
http://clearwaterrealestatepro.com/2019/
Any help is appreciated!
Regards,
Debra Bellmaine
Only 4 and half years ago.
Probably just the size of the images.Loads fast second time for me due to caching.
There probably better ways to handle it from a performance point of viw, ( maybe not use backstretch at all ). Use css 'cover' for the first image and then delay loading of a js script to load after.
My techy blog WordPress and stuff badlywired.com
© 2024 WPEngine, Inc.