Colorbox

[Drupal] How to create custom colorbox style in Drupal 7

November 29, 2016 - 11:55

You can create your custom colorbox styles instead of using plugin provided styles. For creating custom colorbox style go to /sites/all/modules/contrib/colorbox/styles
copy any one of the folders. (You can find plain, default and stockholmsyndrom styles there).Place the copied folder into your theme folder. Rename the folder with your custom name. Also rename the css and js files.

[SOLVED] Colorbox slideshows resizing images to very small sizes when imagecache resized images are shown

May 31, 2013 - 11:53

We had faced a peculiar problem with slideshow in colorbox in one of our Drupal projects. Everything works well before an image cache is set to slideshow images to make them same in size. After setting this image cache, colorbox slideshow begin to behave so strangely by showing a very small window with scroll bar and images are hardly visible. Please refer the image below. But after refreshing page images appears with expected size. But loading another page, and returns to the previously loaded page also make the situation again.

[Drupal 6] How to load a node/add form inside a Colorbox popup?

December 07, 2012 - 12:25

Colorbox is a pretty nice JQuery plugin having a lot of cool features. Recently we had worked on a Drupal project in which we had to load some content programmatically via Colorbox. To be more specific we had to load the Drupal node/add form within Colorbox before presenting it to the user. If you are facing the same scenario in your Drupal site and want to know how to load a node/add form inside a Colorbox popup then follow the steps mentioned here.

Pages