Styles not being applied

Created on 28 June 2023, almost 2 years ago

Problem/Motivation

I see unrendered twig code {{ coh_instance_class }} in the output of site-studio-views-element.html.twig

<!-- THEME DEBUG -->
<!-- THEME HOOK: 'site_studio_views_element' -->
<!-- BEGIN OUTPUT from 'modules/contrib/site_studio_views_element/templates/site-studio-views-element.html.twig' -->
<div class="{{ coh_instance_class }} coh-ce-cpt_articles_slider-c78f664f" data-element="site-studio-views-element">

This is having the affect that certain styles added in the Styles tab of the Drupal View SS custom element, are not being applied.

Steps to reproduce

  1. Site Studio 7.1.2
  2. Add a drupal view element to a component.
  3. Double click the view element to open the details panel.
  4. Switch to the Style tab, and add a red background color. Apply changes, save component.
  5. Place component on a page in layout canvas and view the page.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024