i'm adding pictures in blocks at the bottom of my drupal 8 website. But my bottom as a color brackground and we can see the block limits, the borders... Like a blank line. Why and how can i remove them easely ?
I'm Developing a Coupon website using Drupal 8 and really enjoying playing with Drupal 8. However, I've created a node type called deal and added a date field named expire. Now I want to change or add class when the node reached the expire date so then it will be automatically marked as expire by changing node class from active to expire.
How do I create the functionality whether programming or using modules?
I copied /mytheme/templates/content/node.html.twig and made /node--view--nhp-news-slider.html.twig with some edits.
Now i want my slider to point to this new, edited node instead of the default.
I am currently trying to figure out how I can alter the markup of the Views Group By Title. I created a view that groups by a date field. The date field automatically becomes the Group By Title. I have been using the template_preprocess_views_view_field hook. Whenever I change the markup of the date field it changes it both in the title and in the view field as well. I want to just change the markup in the title.
I'm having trouble getthing the maintenance offline template to work. There's not a whole lot of documentation our there, but it seems like setting up a maintenance-page--offline.html.twig template should work.
I am specifying my maintenance theme in my settings. And the regular maintenance page works fine. But when the database is offline I just get a white screen with text. $settings['maintenance_theme'] = 'xxxxxx';
Anyone else having issues with this? Or am I missing something.