By ludo1960 on
Hello,
I've got a block in a custom region that displays dynamic content. However it appears beneath certain other page content (only in IE!) So i figured I could set the z-index level in the CSS for the region, nope that didn't work! Then I thought, set the weight for the block, I go to admin/build/block and just for a second a "Weight" column appears... then disappears! Hmmm so how do set the weight of a block?
TYIA
Comments
You set the weight by drag
You set the weight by drag and drop, but that determines the order the blocks appear in a region.
Without a link to the site it is hard to provide and answer but I would venture you are positioning/floating the block/region and not clearing space for it.
The "Clearing space for it"
Eh...err..em!! I have only 1 custom region and 1 block therein, defined in the theme.info file and given it a space in the page.tpl. As there is only 1 block the problem can't be one of block weight then, but of IE CSS usage
The CSS for the new region is:
There has to be some "trick" specific to IE to get this to display correctly, any ideas?
I am guessing your
I am guessing your page.tpl.php has code like
If this correct, I would trying changing the div line to
<div id="region" class="clear-block">, save the file and do a page refresh.lol
OK tried that (good guess!) now my dynamic region is at a lower z-level than before ie text on page is above my dynamic stuff. Only in IE tho! Mr Gates can consider himself removed from my xmas list!
Without a link to the page I
Without a link to the page I am hard pressed to provide other suggestions.
Weight column disappearing
After much searching I found an answer here:
http://drupal.org/node/250853
To prevent to Weight column from disappearing when the admin/build/block pages loads, you have to disable JavaScript in your browser. That did the trick for me.