CMS & WordPress
dzigner — 2012-05-10T17:40:46-04:00 — #1
I have installed drupal on my test server, and have created a site, based on my own php template. The site looks good when I am logged in as an admin or authorised user. But the site layout goes haywire when I am not logged in - i.e. to visitors.
I am attaching screen shots of both. Please let me know if this can be solved, or what else is needed here.
awasson — 2012-05-11T11:23:18-04:00 — #2
Ok, so... How much Drupal theming experience do you have? Drupal 7 is easier to theme than Drupal 6 but it's different.
The minimum you need to create a D7 theme is:
- You should also have an images folder but that's not technically required
Did you create the theme from scratch or are you subtheming another theme?
Those two screenshots don't even have the same banner image which is odd. Are you using anything to swap images in your theme or using blocks to change images for some reason?
behati — 2012-05-11T13:48:10-04:00 — #3
On first glance it seemed to me that the login form that is rendered when a user is not logged in is pushing your CSS elements out of place - but in order to really help you, I would need a link to the page if it's hosted, or atleast some code so I can see how you've structured your divs etc.
If you remove the Login block, does it show normally then?
awasson — 2012-05-11T13:58:00-04:00 — #4
Yeah, I thought the same thing about the login block but that image banner on the unauthenticated visitor page seems to be the wrong size for the container it is placed in too.
behati — 2012-05-11T14:01:12-04:00 — #5
Indeed, and somewhere underneath it will be a password input-box aswell.
OP, try moving the login block to a different spaceholder on your website, and double check the height and width of that banner you are using on the unauthorized page.
awasson — 2012-05-11T14:07:57-04:00 — #6
Good call... I wonder if that's a page-not-found page.
mittineague — 2014-09-22T01:51:27-04:00 — #7
This topic is now archived. It is frozen and cannot be changed in any way.