Digital experiences for all disciplines
Forum Replies Created
-
-
I’ve added the code and enabled the preloader with no change other than the preloader image being shifted on mobile. Again, my issue does not concern anything with the preloader, it has to do with the positioning of the swift-slider fallback image on mobile.
Thanks
I’m not sure how code modifying the preloader affects the fallback image on Swift Slider, but I added the code to test anyway and all that happened is my preloader was shifted to a different position. I’ve removed that code, but for the sake of troubleshooting this, I have disabled the preloader completely and the issue remains.
I actually managed to figure it out last night after I found that WordPress has core functionality for querying and displaying random posts, something I’ve never needed to do before.
In /plugins/swift-framework/includes/swift-slider/inc/ss-display.php, I added the ‘orderby’ => ‘rand’ to the code below:
/* SLIDE QUERY ================================================== */ $slide_count = intval( $slide_count ); $ss_args = array( 'post_type' => 'swift-slider', 'post_status' => 'publish', 'swift-slider-category' => $slide_category, 'orderby' => 'rand', 'posts_per_page' => $slide_count, ); $swift_slider_slides = new WP_Query( $ss_args ); $slides_count = $swift_slider_slides->found_posts; if ( $slides_count < $slide_count ) { $slide_count = $slides_count; } else if ( $slide_count === 0 ) { $slide_count = $slides_count; }
I’ll just need to make a note to myself about this change for when I update the theme.
Thanks Rui, this actually worked perfectly for me. Any idea if this is going to be fixed in a future theme update?
Thanks Ed, looks like this in fact the case. I have the same video loaded on a site using Dante and the same thing happens. I have that set up to load a random slide with a fallback image for the videos so I just never realized it wasn’t working. Odd since we had two videos made at the same time and one works while the other does not.
Sorry to open this up again, but I just updated and the problem seems to remain.
I’ve tested using IE11 on a few different machines. I do notice the difference that Firefox and Chrome are using the HTML5 player and IE11 seems to be using the flash player.
Thanks guys. This site is still in Dev so luckily I can just wait for the update for the fix.
Ive now tried IE on 4 different computers, all with the same result of not being able to see the close button. Cleared the cache in IE on each machine and all plugins are disabled aside from swift framework. See screenshot.
Attachments:
You must be logged in to view attached files.This reply has been marked as private.Great, thanks Ed
Yes, the first row. I am not using any mobile emulation and have confirmed this issue in both Chrome and Firefox on multiple machines. IE appears to work as intended and I have not been able to test in Safari.
Resize your browser down to where the mobile menu appears, then reload the page. The fallback image background shows on both the top and bottom of the video. As soon as the browser is resized even one pixel from there, the video snaps back to covering the whole area. Please see attached image. This behavior actually begins wider than this (a little above 1100px wide), but this width made for a better screenshot.
Thanks
Attachments:
You must be logged in to view attached files.As per usual I was able to figure out at least some of my issue almost immediately after submitting the question. I was able to take care of the text with:
.fancy-heading .heading-text{ opacity:1; }
I also figured out that I need to set the transition to none for .fancy-heading, but I’ve been unable to do that in the child CSS file without using !important tags, which I don’t want to do. The same goes for using the theme’s Custom CSS module, will not work without !important tags.
Sorry to hijack the thread but I actually have a very similar interest in this. This may be more a question for Ed, but do you know how similar the ID and Class naming is between Dante and Atelier? If I went with Atelier I was wondering how much of my custom CSS written for a Dante site I’d be able to carry over.
Thanks
Meant to post this up when we launched but completely forgot
-