[SOLVED][Drupal Colorbox] How to show specific content in a page using Colorbox?

| | 1 min read

A few Drupal users wanted to know how to show specific content in a page using Colorbox. If you are facing the same question with Colorbox in your Drupal site then read on to find out more.

Here is how to do that.

  • You have to use the colorbox-inline content for showing specific content in a page
  • Check the Enable Colorbox inline option in Colorbox settings.
  • Then use the following link template to open the content using Colorbox
  • <a class="colorbox-inline" href="?width=500&height=500&inline=true#id-of-content">Link to click</a>

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.