The solution is to add the hook to your custom theme and add the offset from ...

Contribution Date
Technology
Contribution Project
Contribution Details

The solution is to add the hook to your custom theme and add the offset from the top accordingly.

/** * Implements hook_preprocess_views_view_bootstraptable(). */ function template_preprocess_views_view_bootstraptable(&$variables) { $view = $variables['view']; $options = $view->style_plugin->options; if ($options["extension"]['sticky_header'] == 1) { if (\Drupal::currentUser()->hasPermission('access toolbar')) { // Set the Header offset from the top. $variables["attributes"]['data-sticky-header-offset-y'] = 80; } } }
Issue Status
closed
Contribution Author
Files count
0
Patches count
0