I have poor knowledge in development with Twig (and with Drupal so). I would remove label before text field and maybe change labels before name and e-mail fields to images. How can I do that? So where can I read about it?
Is there a way to assign .htaccess file (or code inside) to a custom created theme? So for example, I could have different .htaccess file for each Drupal theme?
Hi every one, i spent the day fighting and don't get the solution :(
I would like in my form--contact-us.html.twig get all my fields and their labels but separately, for now i have something like :
what i want to do is check the rendered html for the quantity of <p> tags that are present and if i have more than one <p> tag add a class to the parent.
this is how i picture it but this code is not real:
To start with, I'm a very new user... not familiar with much of Drupal terminology... know nothing about php
So I have been trying to modify a theme to get it to look just like i want it to. So i have made some edits to the css file and making a little progress. But what is happening now is that page appearance changes depending on whether you are logged into the site or not. Appearance changes again when editing or creating new content.