Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tried using .sidebars-1 .page-admin #content but that didn't work.
I tried using .sidebars-1 .page-admin #content but that didn't work.
Comments
Comment #1
Deepika.chavan CreditAttribution: 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 CreditAttribution: danpros commentedThanks Deepika.chavan,
I will close this one.