[support] Arranging multiple blocks in custom region

Hakan agents at meddatainc.com
Sun Apr 15 19:20:24 UTC 2012


Clearfix resolved the issue. Thanks.

On Sun, 15 Apr 2012 13:18:03 -0500, Gerald Klein wrote:

>ok then three regions next to each other, but that won't stop the bleeding
>of sections togeather. That could be either broken html or if you used
>floats perhaps you didn't clear them, there is a nice clearfix class in the
>drupal css implemented as a 'after' pseudo class that does a great job. You
>can create a class instance with the after class on your containers that
>can solve a lot of css placement problems.
>
>On Sun, Apr 15, 2012 at 12:42 PM, Hakan <agents at meddatainc.com> wrote:
>
>> I did not say that the solution described in the link I supplied is not
>> usable but merely wondered whether there were other solutions. As for
>> broken HTML, that is most certainly a possibility but I have not found
>> it. As for 2 regions side-by-side, that is not what I had in mind, nor
>> what I described.
>>
>> On Sun, 15 Apr 2012 12:26:09 -0500, Gerald Klein wrote:
>>
>> >Not knowing what your code is, I would have to say you need to look for
>> >broken html if sections are bleeding into each other, as far as the other
>> >alternatives, you can create 2 regions side by side that you populate
>> also.
>> >But I am curious why is the suggested solutions not usable?
>> >
>> >On Sun, Apr 15, 2012 at 12:12 PM, Hakan <agents at meddatainc.com> wrote:
>> >
>> >> Using Drupal 7 I am customizing the front page on a web site I am
>> >> developing for my own (commercial) use. I used the Zen theme as a base,
>> >> created a subtheme etc. which went well. After creating a tpl.php file
>> >> just for the front page, I have now added a custom region (between the
>> >> main content and the footer) and added three blocks to this custom
>> >> region using the Block Administration page of the theme. Using weights
>> >> I can arrange the order of the three blocks I have, provided I want
>> >> them one below the other.
>> >>
>> >> However, I want them side-by-side and I want each block to have some
>> >> custom formatting. After Googling the drupal site I found this link
>> >> http://drupal.org/node/1151704 which seems to address my problem.
>> >>
>> >> Since I am new to Drupal I thought I would see if there are any other
>> >> solutions beside the one in the link? I should also add that before
>> >> adding the custom region I had added custom PHP code (and corresponding
>> >> statements in a CSS file) to place the three blocks approximately where
>> >> I wanted them on the page. However, while they were separated from the
>> >> main content region, no matter what I did the Footer got intermixed
>> >> with my block content, hence the Googling described above.
>> >>
>> >> Suggestions greatly appreciated! Thanks.
>> >>
>> >> --
>> >> [ Drupal support list | http://lists.drupal.org/ ]
>> >>
>> >
>> >
>> >
>> >--
>> >
>> >Gerald Klein DBA****
>> >
>> >ContactMe at geraldklein.com
>> >
>> >www.geraldklein.com <http://geraldklein.com/>****
>> >
>> >jk at zognet.com****
>> >
>> >708-599-0352****
>> >
>> >
>> >Linux registered user #548580
>> >
>>
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>
>
>
>-- 
>
>Gerald Klein DBA****
>
>ContactMe at geraldklein.com
>
>www.geraldklein.com <http://geraldklein.com/>****
>
>jk at zognet.com****
>
>708-599-0352****
>
>
>Linux registered user #548580
>




More information about the support mailing list