SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member dzigner's Avatar
    Join Date
    Jul 2004
    Location
    USA
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs down drupal 7 website looks

    HI
    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.
    thanks
    Attached Images Attached Images

  2. #2
    SitePoint Wizard bronze trophy
    Join Date
    Oct 2001
    Location
    Vancouver BC Canada
    Posts
    2,030
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    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:
    theme_name.info
    page.tpl.php
    style.css
    screenshot.png

    * 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?
    Andrew Wasson | www.lunadesign.org
    Principal / Internet Development

  3. #3
    SitePoint Zealot behati's Avatar
    Join Date
    Feb 2012
    Location
    Copenhagen, Denmark
    Posts
    152
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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?

  4. #4
    SitePoint Wizard bronze trophy
    Join Date
    Oct 2001
    Location
    Vancouver BC Canada
    Posts
    2,030
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    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.
    Andrew Wasson | www.lunadesign.org
    Principal / Internet Development

  5. #5
    SitePoint Zealot behati's Avatar
    Join Date
    Feb 2012
    Location
    Copenhagen, Denmark
    Posts
    152
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by awasson View Post
    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.
    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.

  6. #6
    SitePoint Wizard bronze trophy
    Join Date
    Oct 2001
    Location
    Vancouver BC Canada
    Posts
    2,030
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by behati View Post
    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.
    Good call... I wonder if that's a page-not-found page.
    Andrew Wasson | www.lunadesign.org
    Principal / Internet Development


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •