Skip to content
Snippets Groups Projects
Commit 98ed8508 authored by Lily Yan's avatar Lily Yan
Browse files

Merge branch 'bug/ISTWCMS-7058-ebremner-catalog-same-look' into '1.1.x'

ISTWCMS-7058: add code that adds css class to manual list block for catalogs...

See merge request !248
parents 094c2f69 59784741
No related branches found
No related tags found
1 merge request!248ISTWCMS-7058: add code that adds css class to manual list block for catalogs...
...@@ -198,6 +198,10 @@ class UwBlockManualRender { ...@@ -198,6 +198,10 @@ class UwBlockManualRender {
// Set the argument. // Set the argument.
$view->setArguments([$argument]); $view->setArguments([$argument]);
// Add the class to ensure that manual catalogs,
// look like that automatic.
$view->display_handler->setOption('css_class', 'path-catalogs');
// Execute the view. // Execute the view.
$view->execute(); $view->execute();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment