This forum is for assistance with theme development.

Add scss file in a custom theme

How we add a SCSS file to a custom theme?

How to display a “manage form display” in a page views ?

How to display a "manage form display" in a page views ?

I have stores and groups on my site. I want to create a page with only part of the stores and groups form. How to do this ? In a pageviews, I can add a rendered entity field, but I can only select the entity display, I cannot select the entity form.

For example :

I created a type of store. I want to display the form to create and madifiaction of the store, except 2 fields.

Add others node fields in field--field_namefield.html.twig

Hello,

I have 3 fields in a content type testimony :

- civility : field_civilite_interlocuteur (select list)

- Name : field_nom_interlocuteur (text)

- Function : field_fonction_interlocuteur (text)

In the field--field_nom_interlocuteur.html.twig template I'd like to concatenate fields to get something like :

Civility name, function.

I can't succeed to get value of other fields.

I try

Adding Announcement Banner

Hi,

I've just taken over a site that has the Max theme (Drupal 7), and want to add an announcement banner to the top of the page (just some HTML and CSS).

I've tried declaring a new region in the Max.info file, editing the html.tpl.php file, and creating a region--banner.tpl.php file in the templates folder - all to no avail.

I've not worked with Drupal before and am unclear on regions, modules, zones, etc. If someone could let me know how I can achieve this/point me in the right direction, that would be great!

Thanks in advance.

Bootstrap4 subtheme import bootstrap4 style issues

I hope this is the right place for this. I am trying to subtheme bootstrap4. I have changed all the necessary files to my theme name and have my new theme installed and set as default. The site renders without any styling whatsoever. After reading the README again I discovered I needed to update an import in the scss/style.scss file. I have tried every known possible combination of my site relative paths but I cannot get this to work. Can anyone shed some light on what I'm doing wrong?

According to the readme...

Pages

Subscribe with RSS Subscribe to RSS - Theme development