This forum is for assistance with theme development.

Search page change snippet to summary

Hi,

Search page results shows snippets and i want to change to a summary of the content page that i searched for. How can i do that?

Thanks

taxonomy twig term: how to customize the display?

Hello,

on Drupal10.2.6, I'd like to customize term belonging to a taxonomy called 'etats'. From the genuine 'taxonomy-term.html.twig' I created a 'taxonomy-term--etats.html.twig' template to get the following display:

  1. 'field_map'
  2. nodes (teaser mode) that reference the term
  3. 'description' field

BUT, I cannot decide where the referencing nodes are displayed = all the time they are at the bottom. I'd like 2nd position.

Even when using

How to use hasField but for paragraph fields?

Within a Page Template, how Could I check if a Paragraph field if present?

I'm using this and it works:

$node->hasField($field_paragraphfield)But how can I modify this to look for a field within that field?

I tried this but it doesn't work:

$node->hasField($field_paragraphfield_banner)

Bootstrap 5 Barrio theme installed on Drupal 10 question

Hello,

On Drupal 10, I installed the Bootstrap 5 Barrio theme.

When an article is selected, the un-selected menu buttons are difficult to read in the View Edit Delete Revisions toolbar. Only the by default selected View button is OK.

How can I fix this in the themes style.css file or is there an other solution?

Regards,

Albert

How to do 2 line sentences in a box?

Hi 

In one of our designs, there are boxed with 2 sentences like this. My developer said it is hard to achieve this design unless it is 1 line sentence. How do we overcome this issue and achieve this design? is it impossible?

"Porting" assistance request.

I've got an old Drupal 8 Theme that the developer basically got it to where it would operate, and has since abandoned it. A working Drupal version of this theme is desired, so I'm attempting to "port" it to work with Drupal 9 and 10. As a fast "bring y'all up to speed", here's a recap of what I've done so far:
 

Pages

Subscribe with RSS Subscribe to RSS - Theme development