简体   繁体   中英

how to edit htm/css in drupal theme?

I have a Drupal theme, and I want to edit its HTML/CSS according to my needs. Can anybody tell me how I can change it? (Specific file name?)

I have tried to change page.tpl.php but couldn't get any output.

The file depends on what part of the page you're attempting to update. Here's a great visual of the file structure when it comes to theming: https://drupal.org/node/171194

You'll be editing the html.tpl.php, page.tpl.php, and style.css files (or whatever you're calling your main CSS file). Very important - once you make your changes, you need to clear the cache within Drupal so it recognizes the changes. To do this go to "admin/config/development/performance".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM