I've noticed some problems recently with the appearance of my slideshow - on some pages it appears as it should, but on other pages my custom CSS isn't being applied...

I soon worked out that it's because the ID tag changes between pages. On one page, the ID is 'views_slideshow_singleframe_controls_1', while on the next page the ID is 'views_slideshow_singleframe_controls_2'. How are we supposed to theme the slideshow when the IDs keep changing?

Comments

redndahead’s picture

My guess is on the second page you have 2 slideshows and the one that changes happens to be the second slideshow displaying on that page.

There is a class that gets wrapped around the slideshow that is the name of your view so if you named your view page_slideshow there is a class called view-page-slideshow that will help you identify that specific slideshow.

Hope this helps.

Anonymous’s picture

That worked, thanks.

I still think that IDs should be consistent, regardless of how many slideshows are on a page...

redndahead’s picture

Status: Active » Fixed

That's not what those id's are for. They are to identify the order of slideshows so we can point jquery cycle to the right one with the right settings. That will probably not change. Glad it's fixed for you.

Anonymous’s picture

Ah, I see. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.