[SOLVED][Drupal Colorbox][Drupal 6] How to use a custom class instead of colorbox-load for Colorbox popup?

| | 1 min read

Many Drupal users wanted to know how to use a custom class instead of colorbox-load for initiating the Colorbox popup in their Drupal sites. If you are facing the same question with Colorbox in your Drupal site then read on to know the solution.

Here is how to do it.

  • First copy the colorbox_load.js and rename it to what you want
  • Then copy this file to your theme
  • Now you can use this to create your custom class

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.