This forum is for assistance with theme development.

Why does the animation not work if I change pages ?

I have a Drupal 8 site with Bootstrap 3 theme.

I created a homepage with a newsfeed. Whenever there is a publication on the site, it generates a message in the newsfeed. The messages can have the status read or unread.

I want that when the .action-flag class is in the page, an animation is applied on the logo of the site.

The CSS and JS file is included on all pages of the site.

The .action-flag class is only on the home page, when a message is not marked as read.

correct path to a node edit form

Can anyone tell me why this isn't working please, I ve read all the naming convention stuff

I have node--alive.html.twig (Which works as expected) to edit the view of my node page for entity type alive

I now want to theme the whole edit page, but I can't figure out the correct twig template

I have tried

page--node--alive--edit.html.twig (The recommended one as far as I can tell)

And

page--node--edit.html.twig 

neither get picked up (I am clearing the cache)

Removing bold from text

I have an accordion view where all the text is showing up as bold. I think I have just looked at this for too long and as such am missing the styling that is causing it. I've tried a bunch of solutions, but none thus far have fixed the issue.

Thanks for any help you can give!

https://www.tgci.com/webinar-sliders

Adding custom text to the 'Add menu link' page

I am creating a custom theme for Drupal 8. I would like to have it so when the theme is installed it adds some custom text to the admin add link page for only the main menu.

For example:

The page url is /admin/structure/menu/manage/main/add?destination=/admin/structure/menu

under the link field it reads:

Theming a field in a table

Hi All

Hoping someone can help with this

I am writing a custom theme where I want to change the color of the text of a field in a views table based on a value.

Putting the following in the views-view-field.twig.html override updates the div for all fields in the row, how do I make it just add a div around the field_alive I am interested in and not all fields in the row please.

Thanks

Analogs of Slider Revolution for Drupal CMS

Hello! This point is interesting: is there something similar to Slider Revolution for CMS Drupal For Wordpress, with similar functionality? The site has a cool slider installed, I don’t want to sacrifice it when switching to Drupal.

Pages

Subscribe with RSS Subscribe to RSS - Theme development