Answer the question
In order to leave comments, you need to log in
How to make Colorbox work on view pages?
Good afternoon. On the Drupal 7 nevskylimo.ru website, you need to make sure that pictures on the main page open in Colorbox. The main page is a view.
On the pages of specific materials (cars-limousines-buses) that can be accessed from the main page, pictures in the colorbox open without problems. they have the data-colorbox-gallery="gallery-node-77-field_image" attribute. But the pictures that are collected in views - they do not have this attribute. That's probably why it doesn't work.
A similar problem on pages that open from the top menu - because. views are also opened, not materials.
How can I overcome the problem and make Colorbox work on "views" as well?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question