For assistance with theme development.

STICKY: Theme development forum guidelines

The theme development forum was created to aid those who are developing themes for Drupal. This forum is not for issues you may be having with contrib themes. Issues with contrib themes should be placed in the issue queue of the theme in question. Please respect this.

If you you have drupal installed already and are seeking a theme, have a question about a specific theme and what it does or if it will fit your use case, please place your questions in the Post installation forum.

Bootstrap subtheme css not working

I'm trying to use the SASS starter kit for the Bootstrap theme. I've followed the instructions here: http://drupal-bootstrap.org/api/bootstrap/docs%21Sub-Theming.md/group/su...
and here:
http://drupal-bootstrap.org/api/bootstrap/starterkits%21sass%21README.md...

Theming a field

I have a node that requires a lot of theming for each field.

I'd like to hook into the field in template.php and modify it a little then do my output / frontend in .tpl.php.

What is best practice or maybe a link to documentation on theming the field values of a node?

D8 twig template override reverts when exiting development mode

EDIT/SOLVED: It seems like this was due to a caching issue. For some reason, "drush cr" didn't clear the cache properly, but it seems like clearing the cache from the admin panel did the trick.

Original post below:

I am overriding a node template for a specific view, using the name scheme node--view--view-name.html.twig.

SEO: Pagination --> html-head: <link rel="next" / "prev"... (D8)

Hello,

is there a working solution fur Drupal 8, to include <link rel="next" / "prev"-Attributes into the html-head on paginated Views? Seems like there is no working module available.

Background:

you can now use the HTML link elements rel=”next” and rel=”prev” to indicate the relationship between component URLs in a paginated series.

Reusable Media Tutorial?

I am building a Drupal 8.x theme with reusable media. I find media entities confusing. Is there a dead simple tutorial on how to implement reusable media with D8?

Pages

Subscribe with RSS Subscribe to RSS - Theme development