I have a block that I want to display in my Content region which works fine but the block is always fix aligned in the top left corner (float: left property). How can I set it so, that my content displays above the block in my region?


Assign this css code to one class of your block ( or the #id )

.your-block-class-name:before {
  content: "";
  display: table;
  • I tried this like: div#block-simplenews-0:before {  content: "";  display: table; } but nothing happened, maybe you could have a look at the page yourself: spabc.com/content/hills-restoration-process - I'd like to have the block id="block-simplenews-0" displayed below id="block-system-main" – stdcerr Sep 25 '15 at 3:16
  • 1
    switch the order in admin/structure/block and set the Main page content block before the block-simplenews – Riccardo Ravaro Sep 25 '15 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.