This forum is for assistance with theme development.

Form alter with unique form id's

Hello,

I am using the following code to alter a form:

load custom twig depending on a field value

Hello,

I have a news website and I want to print the node's page each time in a different way depending on a field value.

The problem

I have a content type named "Article" in the article there are a number of fields that are going to be visible/invisible depending on a field called "Theme" (Conditional fields) also the "Theme" field is responsible to determine the twig that is going to be used.

hiding (Files must be less than) by css

Hello everybody, please i need to hide by css ''Files must be less than 20 MB.'' in creating node page

Drupal8 W3CSS Theme sticky footer

How can I adapt this theme to use a sticky footer? Apart from that, if I don't use a footer, how can one make this theme have pages take up 100% of the browser page height when the content is smaller? I have some css overrides, but I am so far unable to work out what to set. Have tried height = 100% on body and #main-container and other things I think are wrappers, to no avail.

Best list extension for Drupal

I have a question, I would like to have a list functionality on my website like the one in this page p2p lending sites Does anyone know an extension to do it?

Display sitename and node title on top of node body

Hello,

I'm developping my first custom theme and I need some help.

I need to render nodes body field as following:

h2 : My Site Name,
h3 : My Node Title
div : My Node Body HTML text

Can you help me to do that ?

I didn't found any help in field--text-with-summary.html.twig

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development