Update to siteorigin_panels_row_classes
-
I was going to send a pull request over at https://github.com/mariuskubilius/siteorigin-panels but that code doesn’t look to be the up to date version.
I made a change to
siteorigin-panels.php
line 664:Changed:
$grid_classes = apply_filters( 'siteorigin_panels_row_classes', $grid_classes );
to:
$grid_classes = apply_filters( 'siteorigin_panels_row_classes', $grid_classes, $grids[$gi] );
The reason for this is that I needed to be able to add styles to the panel-grid based on some factors, one of which being how many columns there would be.
- The topic ‘Update to siteorigin_panels_row_classes’ is closed to new replies.