Clickable panel titles at Metronic theme

I wanted the panel titles to be clickable as well, instead of just the little icon on the far right side of the panel. This is easy with just a little javascript.

This is specific for the Metronic theme. This code was placed in the /assets/scripts/core/app.js ..

3 thoughts on “Clickable panel titles at Metronic theme

  1. You have to add the stopPropogation, otherwise you cannot click the up down arrow

    $(“.portlet > .portlet-title”).click(function (e) {
    e.stopPropagation();

Leave a Reply

Your email address will not be published. Required fields are marked *