Contextual Block Class(es)

Component ID

2238197

Component name

Contextual Block Class(es)

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

3833

Component created

Component changed

Component body

This module provides the ability to contextualize block classes. This module is similar to contextual_block_class module and complements the block class module.

Version

Drupal Core: 7.X

Release Version 7.x-1.0-alpha1

Installation:

Install this module like any other module. See Drupal Documentation

Configuration:

  1. Create a context with any set of conditions. admin/structure/context/add
  2. Add the "Administer Contextual Block Classes" permission to the appropriate roles. admin/people/permissions
  3. Edit or create a new block. admin/structure/block/add
  4. Find the contextual block class(es) collapsible fieldset and expand it.
  5. Enter css classes without a period and separated by spaces into the context of choice. eg: 'clearfix header-one third-class'
  6. Save block and place into a theme region.
  7. Test.

Sponsored and realized by Stanford Web Services