Posted by pkcho on January 24, 2010 at 1:18am
I'm trying to clean up the layout of my frontpage. As you can see from the attached screen shot, the left and right columns do not line up at the top with the center columns. When I inspect my site through Firebug, at least on the right column, I find that there is an extra div class...
<
div class="admin-inline">
This is sitting on top of the ad block in the right column that is creating an extra space which makes the columns look uneven. Obviously, it is there for a reason.
Can anyone offer advice on the best approach to balancing out the columns, especially in light of extra spaces like this
<
div class="admin-inline">?
Thank you.
| Attachment | Size |
|---|---|
| Screen_shot.jpg | 162.92 KB |
Comments
I'm afraid I've no idea about
I'm afraid I've no idea about your problem, but I'm really interested to know how you've created/designed the main article area (text on picture, how it fits on three coluns wide, etc.)...
Regs, Thierry
Creating my homepage
Disclaimer*** I'm not being modest when I say, I barely know what I'm doing. I started learning how to use Drupal last year about this time and I am by no means a programmer, mostly just a designer, so I had a lot to learn. But through tons of screencasts and reading tutorials and answers from these groups, I've learned tons and am beginning to be less intimidated and am able to do much more with Drupal.
I implemented the "sidebar-left" block in addition to the "homepage-center" and "homepage-right" blocks on the homepage.
In the "page-front.tpl.php" (in the sites/all/themes/openpublish_theme/page folder) there are 3 main blocks that are displayed:
<?phpprint $left;
?>
<?phpprint $over_content;
?>
<?phpprint $right;
?>
But, in the page-front.tpl.php, the
<
div id="homepage-left"> prints the "left" block, while on the rest of the site (page.tpl.php),
<
div id="sidebar-left"> prints the "left" block.
So basically, I created a "sidebar-left" region (instead of homepage-left) for the homepage and had it print to "left", this way, it works consistently with the rest of the site. Then I resized the 3 regions via css in the page-front.tpl.php to make things display the way I wanted.
The text on picture is actually done via the Dynamic Display Block module. In my opinion, it is the best looking slider out there, though it is very daunting to set up the first time. I purchased a custom theme and support from the developer so I emailed him frequently and he was very helpful in helping me get set up.
Hope this helps somewhat...
In my opinion, it is the best
I feel kinda like an ass since I had been sitting on the ddblock code for sometime and never uploaded it. We are all going to have to decide on a standard default rotator for openpublish so I can write a tutorial.
Marine job board with Drupal 7 at http://windwardjobs.com
Try using the markup 'code'
Try using the markup 'code' as an HTML tag when you write in this message board. It will escape the php and html code and put it in a block. Click on input format and it will show you the other Filtered HTML markup.
I just looked at the your JPG again and you should post your code and some of the css involved.
I don't know if I put
<code>it escapes.<code...
php
html
php
</code....
Marine job board with Drupal 7 at http://windwardjobs.com