This forum is for assistance with theme development.

Inheritance in Drupal 8 sub-theme

I can't find any information on what Drupal 8 sub-theme inherits from it's base theme.
For example this page nicely explains what is inherited by Drupal 7 sub-theme:
https://www.drupal.org/node/225125
but there is nothing about inheritance on this page that talks about creating a Drupal 8 sub-theme:
https://www.drupal.org/node/2165673

Change menu drop down effect speed

Hi there

I have the SimpleCorp theme installed and the drop down menu effect speed is to fast making it hard to select a menu item. In the settings area there is no option to adjust it, (on the demo site their menu has a much slower effect). is there a way to do it in the backend?.

Thanks in advance

Content specific blocks

Hello,

First off I'm using Drupal 8 to develop my own site/theme. I've found a topic that was similar but no clear answer.

My front page consists of many blocks, that will show teasers of article, social and blog posts. My front page is /home and it set as the default page. It's made using panels which has all the regions I need.

Drupal 8.0.2 twig dump() and kint() not working for me

dump() is not working for me at all, even on simple variables (e.g. I tried the example in the docs of {{ dump(breadcrumbs) }} in the bartik page template). I've upped PHP resources to max_execution_time = 600 and memory_limit = 2048M but just keep getting 500 server error after some time.

Drupal 8, I have tried every possible way to print site_name in page.html.twig

I have tried every possible way to print site_name in page.html.twig, but in no case it gets printed. I also checked settings in the branding block but everything is ok there. What could be the issue?

But if I enable the branding block then it gets printed via the block only rather directly. Also it seams page_title is also not printable via {{ page_title }}

Any suggestions?

Hiding username in the comments for specific roles

Hi, i want to hide the username in comments for specific roles.

How can i make $author code to work with specific roles ?

Pages

Subscribe with RSS Subscribe to RSS - Theme development