I want to change the page template for the book content type.
I have tried: page--node--book.html.twig, page--book.html.twig, page-book.html.twig, page--node-book.html.twig but none of those work. What theme hook should I use? I am using Drupal 8. Thank you.
I am trying to wrap a div around a field's label using theme_field(), but it looks like my theme_field hook is not invoked for add/edit forms, but it is invoked for view form. My theme is called "maintheme". I put the following code inside template.php:
HI there, after painful fight I managed to style differently views in different blocks. Before that I couldnt manage that and all blocks used the same style and everything.
Now, I created the correct css classes and after flashing all cashes it looks as desired. But when I click on refresh the page button, I get the older look of the page, where the blocks use a different css obviously. Probably it is some css provided by Views module?
I humbly beseech the laudable drupal gurus to help me with this seemingly complex task.
As stated in other posts I am not a drupal expert NOR a programmer. We inherited this drupal site when I started in my current role and have been winging it and learning as we go since.
The main issue we would like resolved is the stack order for our page content. Our pages are not complicated but need some fine tuning.
I would like some help to style a Ctools modal pop-up. I have added a theme and views template but it has no effect so it looks as though I am missing some fundamental point.
Here is a picture of the default style and the styled box, as per the article above.
You can see the pop-up in its current state here. Just click the link on the single Views record.