This forum is for assistance with theme development.

Beautiful Webform Radio button

Hello there,

I start to develop drupal five months ago. So I am really new to this drupal development.

So I want to know is there anyway I can change the radio button something beautiful like in modern websites

Because i want to use my form more user friendly with new UIs. I tried to edit radios.html.twig file, but it has a class like this.

<div{{ attributes.addClass('radio') }}>{{ children }}</div>

So this is not like 

Getting started with Bootstrap theming

Hello all,

I am a bit of a newer developer and I have done some work designing pages in Bootstrap Studio and configuring modules in Drupal in the past, however, for the project I am working on now my client wants to have more specific customization of pages (such as nodes), things like coloring, theming, padding of elements, etc. 

I have been searching online and through the source a bit to try and figure out what tools I need to get started and some of the procedures but I am not quite sure where to get started. 

Button and link color for Drupal 9 and Webform

Hello,

In Drupal 7, for the webforms (nodes) you could customize the links and buttons by modifying the colorpicker "Button and link color" (in node edit) for each webform.  I'm trying to find the same functionality for drupal 9. I don't know if it is implemented. It's still available for webform or nodes?

Thanks!

How to add a value to Node Body Field Tag, in D7?!

How to add a value to Node Body Field Tag, in D7?!

I need to add "data-content" tag to Node Body, but I can't find how.

I know there exist several modules that can add a Class, but this is not a class.

Also I can't find which Template file responds for this?! Or if there is only a single Field template, how to manage with this.

Twig Tweak 3 and drupal_field in node twig template

I have a Drupal 8 site with Twig Tweak 2 which I've upgraded to Drupal 9 with Twig Tweak 3. This has broken a custom node twig template.

With Twig Tweak 2, this worked:

{{ drupal_field('field_library_photo', 'node' }}

I gather from reading the documentation, this should work with Twig Tweak 3:

{{ drupal_field('field_library_photo', 'node', node.id) }}

But it doesn't. As a proof of concept, I hardcoded the node id of one of the library pages:

Template twig not displaying fields

Create a view that invokes a paragraph I built it as a block, create the view as the debugger suggested, but when trying to call the field I can't get it to look at all, try fields.myfield, content.myfield, fields.myfield .content, I would appreciate any help I've been stuck here for a long time, thanks

Only local images are allowed.

Pages

Subscribe with RSS Subscribe to RSS - Theme development