Hi!

I used Zen now for some projects and I always got around fine creating subthemes.
But this time I am having a strange gap appearing in my content-area. As you can see in the screenshot there is a gap between the "content-header" and "content-area" divs.
The white background and blue border is applied to "content-top", "content-header" and "content-area". I cannot apply it to the "content-inner" div for I am using transparent rounded corners on the "content-header".
I checked all the css-stuff with firebug, there is no margin or padding at all. I don´t know where to look anymore! I even checked the page-tpl.php with no luck.
The strange thing - this gap does not appear on all pages. For example the admin-screen or some views appear just fine, without the gap. I could not figure out what exactly makes the gap appear. It is neighter related to the tabs, nor the breadcrumbs, nor the help-messages.
I am quite frustrated!
Any help would be very much appreciated!
Thank you!

CommentFileSizeAuthor
Screenshot of the issue36.4 KBxqbzzr

Comments

xqbzzr’s picture

Status: Active » Fixed

Ok, after days of testing and searching I found out that there are some legacy css-commands coming from the items in the content header. E.g. the error-messages, tabs, help etc. They are working with margins instead of padding. And so the margin kind of rips the background apart. I changed all the above mentioned items from margin to padding and now it seems to work.
Good luck!

silurius’s picture

Category: support » bug
Status: Fixed » Needs work

I don't actually know if this should be considered a bug, but thought I would at least flag it to see if the maintainer wants to comment. I remember having similar issues with a particular subtheme at one time, and wonder if xqbzzr's fix might deserve inclusion in a dev release.

Sorry if this is a breech of protocol - not sure how this type of situation is normally handled.

Thanks for the report, xqbzzr.

akalata’s picture

Status: Needs work » Closed (works as designed)

Closing old/inactive requests.