Making large content extend my solution

Posts: 6
Joined: 2008-04-11
User is offline
Making large content extend my solution

Original code from page.tpl.php
around line 36

<?php print $title ?>
<?php print $tabs ?>
<?php print $help ?>
<?php print $messages ?>
<?php print $content; ?>

<?php if ($sidebar_left_featured) { print "$sidebar_left_featured"; } ?>
<?php if ($sidebar_left) { print $sidebar_left; } ?>

<?php if ($sidebar_right) { print $sidebar_right; } ?>

In my case i want to change http://www.biladi.ma/photoshot
I create a page-photoshot.tpl.php (just duplicate page.tpl.php change the name to page-photoshot.tpl.php or whatever page you want to change)
change the code by this one

<?php print $title ?>
<?php print $tabs ?>
<?php print $help ?>
<?php print $messages ?>
<?php print $content; ?>

<?php if ($sidebar_right) { ?>

<?php print $sidebar_right ?>

<?php } ?>

in your style.css
add this

#content2 {
overflow: auto; /*overflow: hidden;*/
width: 100%;
border-bottom: 1px solid #263640;
background-color: #fff;
}
#primary2 {
display: inline;
float: left;
width: 660px;
border-top: 2px solid #e5e5e5;
margin: 0 10px;
padding: 0 10px 10px;
}

You can do the same with forums etc (http://www.biladi.ma/forum)
Hope that can help :)


Posts: 6
Joined: 2008-04-11
User is offline
Anyone have changed the font

Anyone have changed the font size or typography! i think font are small in IE/windows, Safari/Mac, Firefox looks ok!

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
Are you a human visitor or just some spam droid?