This forum is for assistance with theme development.

No Twig debugging comments in html source

In a Drupal 8 multisite setup I have several sites with identical services.yml files containing:

twig.config:
    debug: true

One of the sites provides (as expected) Twig theme debug comment sections, but two of the other sites do not. Everything else works fine, I haven't noticed any problems with any of the sites, just the twig debug is missing from the HTML. So far I have:

How to find CSS tags, i.e. class, ID, Ul, Li in new version of ZEN

I had worked with the ZEN theme creating a sub-theme several years ago and found it relatively easy to style. I just installed the latest V7 and am having a very hard time locating styling tags for menus, and other things on the page.tpl.php and adding or changing conditions in the styles.css within the sub-theme. One of the perplexing thing for me is the relationship between SASS and the styles and I wonder if I must use SASS or directly work on the styles.css sheet.

Firefox won't recognize global.css stylesheet.

For some reason, Firefox won't recognize the global.css style sheet. Other browsers seem to recognize it just fine. Can anybody help. Website is www.moureys.com.

Thanks!

Adding css in AdaptiveTheme / corolla

Hi

I'm new here and I've got a (simple) question about adding CSS to a theme.

Total noob: Creating new block region in Drupal 7

I'm brand new to all this, so please bear with me. I'm updating a website theme and have three block regions I would like to add. Currently, the block regions available are: 

print each post's objects with twig

I have this code for homepage:

  <div{{ content_attributes.addClass('content-boxing') }}>
    {{ content }}
  </div>

but i want print this structure in homepage by twig:

<div> thumbnaile of post's image_field </div>

<div> post tiltle </div>

<div> post footer (date and authure) </div>

<div> post teaser </div>

<div> tags </div>

<div> readmore </div>

Pages

Subscribe with RSS Subscribe to RSS - Theme development