Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Hi,
if you wanna increase the width of all administration pages, then replace the code of function 'phptemplate_body_class($left, $right)' with the following code in template.php file:
2. Add a div before <div id="wrapper"> and complete it after </div> <!-- end wrapper --> in page.tpl.php file:
i.e. code to be added in page.tpl.php to add a div is : <div class="<?php print $node_class; ?>">
Comments
Comment #1
Deepika.chavan commentedHi,
if you wanna increase the width of all administration pages, then replace the code of function 'phptemplate_body_class($left, $right)' with the following code in template.php file:
Now, add following css code in local.css file:
OR if you wanna increase the width of the content of pages created by admin then
1. add following function in template.php
2. Add a div before
<div id="wrapper">and complete it after</div> <!-- end wrapper -->in page.tpl.php file:i.e. code to be added in page.tpl.php to add a div is :
<div class="<?php print $node_class; ?>">3. Add following css in local.css file :
Please clear cached data.. (you can also change the width of sidebar and content instead of increasing the width of wrapper.)
HTH!!
Rgrds,
Deepika Chavan.
Comment #2
danpros commentedThanks Deepika.chavan,
I will close this one.