Is there a way to make template coding easier with Durupal7?

Asked 2 years ago, Updated 2 years ago, 123 views

The HTML output from Drupal7 is deep and has poor visibility. Do you have any good themes or modules?

cms drupal

2022-09-29 22:14

1 Answers

Some useful theme modules include deep nested structures and the ability to control output HTML tags without modifying the PHP of the template:

There is also a module called Fences.

Unlike many other themes, Mothership is a theme that removes extra div tag nesting, class names, and so on, not something that looks good when introduced.Therefore, I strongly recommend that you create your desired visual as a child theme instead of customizing the theme itself.In addition, there are plenty of other options and settings to help you develop, so you may want to read the document.

For Bartik

For Bartik

For Mothership

If Mothership

Clean Markup provides clean templates for Panels and Blocks.At the same time, options allow you to specify any class name or wrapper.

Enter a description of the image here


2022-09-29 22:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.