Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 drupal 初学者,无法解决登陆页面的问题。我使用面板创建登录页面,为其设置自定义 css 代码,但它看起来不像我想要的那样。我在其上看到了我的主题(标题、导航菜单等)中的默认元素。我希望该布局填满我的所有页面,我该如何实现?
我有
我想喜欢它
好吧,我找到了解决这个问题的方法。我使用bootstrap 3子主题,并且有提供页面模板的文件,它调用node.tpl.php。我只是删除字符串<div class="main-container <?php print $container_class; ?>">,现在效果很好。
<div class="main-container <?php print $container_class; ?>">
转到 page.tpl.php 文件,删除呈现标题、徽标和标题的行。它们通常在 if 语句中,变量是 $logo、$site_name、$main_menu、$title。