Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Bricks Container Click
(function ($) {
$(function () {
* Make a whole Bricks Container clickable.
* There must be a link tag nested in the container element.
* Add the CSS class .click-container in the Container Settings CSS class value
* @link
function clickContainer() {
$('.click-container').css('cursor', 'pointer');
$('.click-container').on('click', function (event) {
$('.click-container a').on('click', function (event) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment