By drupol on
Hello,
D7 site > when I inspect a page, I see the body class as follows:
<body class="html front not-logged-in one-sidebar sidebar-second page-node page-node- page-node-59 node-type-cities-we-serve jquery-once-1-processed responsive-menus-load-processed" style="">Then I can target node
.page-node-59{
}When I inspect D8 site, I do not see page-node-x. I cant style for a node.
https://www.drupal.org/forum/support/post-installation/2012-07-03/css-fo...
use node--your_content_type.tpl.php and put the custom id in the wrapper so you can target it via css
I could not follow the instruction here. Some example would be helpful.
Comments
=-=
https://www.drupal.org/project/body_node_id_class
Check this as well
Check this as well
https://www.drupal.org/forum/support/post-installation/2019-02-13/adding...