GTmetrix complains that image dimensions are not specified for the logo in the header. I know how to specify image dimensions in content that I create, but I haven't been able to figure out how to do it with the logo.
I use Drupal 8 and a subtheme of Bartik and would like to add the code to my style.css.
In d6 i have made some different layout for some nodes.
I can not find it how to do in d8.
What I have found out is that I can copy node.html.twg to node--adres.html.twg.
When i add someting to it, then this template is displayed when I display the adres-node.
But know i want to display some fields, such as field_email, field_adres and field_postcode.
Which code i must use?
I have developed my own custom field type,field formator, field widget every thing is working fine but on node detail page below problem I am facing.
I want this problem get resoled.
LogicException: You are not allowed to use css in #attached. in Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments() (line 150 of /var/www/html/drupal8.local/public_html/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php).
Thanks in advance
--------------------------
Ishwar Chandra Tiwari
In Drupal 6, knowing a few specific node id's I was able to display the page content and titles from within one .tpl.php page. I think I used node_load() (it's been a while).
How can I do such a thing in Drupal 8?
I want to do something like this but I want to specify which node other than the current one and I want more than one.