
-
AuthorPosts
-
June 6, 2025 at 7:01 am #1485140
I have been asked to look at putting a rotating banner of logos on my clients website, see https://clarkeandroskrow.co.uk/. Here there are a number of brands that rotate one at a time across the website. They are situated below the button where it says “GET A GLASSES PRICE ESTIMATE” can you advise what Elements I should use to achieve this many thanks.
June 6, 2025 at 7:38 am #1485142I think the partner/logo element comes closest to this. However, the slide behaviour differs slightly from that on your example page. Here the whole block with the partner logos slide out of the image; this means that if you place five logos next to each other, for example, they are replaced manually or automatically by the next five logos. They are not moved one logo at a time as you did.
P.S. This slide option would certainly be useful!June 6, 2025 at 2:58 pm #1485151June 12, 2025 at 7:55 am #1485361Sorry just got back from Holiday – My client wants this logos to be moved one at a time rather than the whole block. How can this be achieved ?
June 13, 2025 at 9:24 am #1485410see here – read carefully:
https://webers-testseite.de/partnerlogo-element/you can erase all the cosole logs – they are only for me to check.
June 13, 2025 at 9:51 am #1485411Many Thanks for your help with this. It works now
June 13, 2025 at 10:17 am #1485416I have added to the code that the slider reacts to smaller screen widths – i.e. deviates from the number initially set via the user class.
in that part:
// Responsive Anpassung der Spaltenanzahl für verschiedene Bildschirmgrößen if (window.innerWidth < 480) { currentVisibleColumns = 2; console.log('Custom Slider: (updateResponsiveColumns) Screen width < 480px. Setting visible columns to 2.'); } else if (window.innerWidth < 768) { currentVisibleColumns = 3; console.log('Custom Slider: (updateResponsiveColumns) Screen width < 768px. Setting visible columns to 3.'); } else if (window.innerWidth < 1024) { currentVisibleColumns = 4; console.log('Custom Slider: (updateResponsiveColumns) Screen width < 1024px. Setting visible columns to 4.'); } else { currentVisibleColumns = initialColumnsFromClass; console.log('Custom Slider: (updateResponsiveColumns) Screen width >= 1024px. Using initial columns from class:', initialColumnsFromClass); }
PS: you can only implement something like this properly with the help of AI. I just know how to prompt the right questions.
;)June 13, 2025 at 12:12 pm #1485420PS: i changed the script! That even a normal Enfold Content Slider could be present too.
PPS: I didn’t want to install endless scrolling. I think it would be necessary to have the entry-slide in a separate entry-slide-wrap. That’s where the trick lies, that I collect all entry-slides and move them into the first entry-slide-wrap. Then delete the empty wrappers. I therefore decided to change the direction of the slider. My content slider solution stops at mouseenter – and starts again at mouseleave -
AuthorPosts
- You must be logged in to reply to this topic.