Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I like to move the left hand side further left to remove the white space, as well as move the right hand side towards the right, so that the centre has more space. I like to remove line wrapping with entries and with the majority of my endusers using widescreen monitors it doesn't look that great.
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: