[SOLVED][Drupal Colorbox] Colorbox close button dosen't work with custom theme

| | 1 min read

Many Drupal users have implemented custom Colorbox themes. Sometimes these custom themes do not work smoothly with Colorbox as a few Drupal users found out that the Colorbox close button dosen't work with their custom theme. If you are facing the same scenario with a custom Colorbox theme in your Drupal site then read onto find out the solution.

Here is a checklist to see if you have done it correctly.

  • First check if you had copied the image directory of the Default Colorbox theme to your custom Colorbox theme if you have based the style of the custom theme on the default Colorbox theme.
  • Check to see if you have included all the required CSS and JS files in the info file of your theme. They are both required to be present there.
  • If you have run through the checklist above and still failed to solve the issue then change the Colorbox configuration "Options" to "Custom".
  • Next revert back to Default again. This should bring out the close box as reported by a user

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.