Header moves when a a page title is not present
tdh - October 9, 2007 - 21:18
| Project: | Sky |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
The header moves up when a page title is not present. For example, when I get an error message. (Please see attached screenshot).
| Attachment | Size |
|---|---|
| header_moves.jpg | 46.11 KB |

#1
Hi tdh,
I cannot reproduce this on the demo site. A page not found error results with a page title of "Page not found" and a login error message such as the one you posted returns a "User Account" page title, or the title of the page you tried to log in from. See attached screenshot.
This is the desired behavior, as there should always be a title for each page, except if you have no slogan and you're on the home page. If there is no page title set, which should never be the case, it will not have anything to print, which would cause the difference in space. Since I can't reproduce the error on the demo site, and you've obviously modified the theme, I'd have to think this is a result of something you've changed.
If I'm wrong, let me know how to reproduce the error and I'll look at it again.
Thanks :)
#2
I get the problem when my home page is set to the default (/node) and then get the error message (by clicking login with it blank or incorrect credentials). If I change my home page to a user created page, then it does display the page title and works fine. But at the default /node it does not display a page title at the top.
Thanks,
Todd
#3
Do you have "site slogan" enabled in the theme config settings?
PS - "node" should not have a trailing slash on the site configuration page.
#4
Yes the site slogan is enabled in the theme settings. Removing the trailing slash after node took care of the problem.
You are great!
Thanks,
Todd
#5
Oh good, I'm glad it's working... You're welcome :)