Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    3
    Plugin Contributions
    0

    Default still having problems centering logo

    Hi guys (and gals),

    I am still having problems centering my logo on my website - the site is www.nativeenergy.co.uk

    On the stylesheet I have followed the instructions on the faqs and now it reads such :



    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    }
    #logo {text-align: center};


    and

    #headerWrapper, #contentMainWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    margin: 0em;
    padding: 0em;
    text-align: left;


    }

    #logoWrapper{
    background-color: #78FFEB;
    text-align : center;



    }



    BUT the logo still refuses to move.
    I had to change the site so it aligns to the left as it looked very odd on my parents computer and the one at the library.

    I just want the logo to sit over the centre box!

    Help!

    Thanks

    Phil

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: still having problems centering logo

    Your logo statement has the semi-colon outside the curly brace.

    #logo {text-align: center};

    Fix that, then add some margin-left to #logo to move it over.

  3. #3
    Join Date
    Nov 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: still having problems centering logo

    Hi there

    I've updated the style sheet where you said so it is now


    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    }
    #logo {text-align: center;}


    I've left this bit as it was

    #logoWrapper{
    background-color: #78FFEB;
    text-align : center;



    }


    It still doesn't seem to sort it. The logo is still fixed to the left hand side of the screen!!! (aaargh!)

    On the margin, what do you suggest I do - I've searched the faq's but cannot find anything about that command?



    Thanks

    Phil

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: still having problems centering logo

    Try this:


    #logoWrapper{
    background-color: #78FFEB;
    text-align : center;
    margin-left:60px;
    }


    Adjust the 60 until the image is where you want it.

  5. #5
    Join Date
    Nov 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: still having problems centering logo

    Hi again

    Thankyou SO MUCH!!

    That has fixed it. I am very happy now!!

    Phil


 

 

Similar Threads

  1. Still having problems with CHMOD permissions
    By cloakvai in forum General Questions
    Replies: 13
    Last Post: 7 Apr 2009, 02:54 PM
  2. Centering Store Logo Problems
    By jvalent in forum General Questions
    Replies: 5
    Last Post: 9 Feb 2009, 01:09 AM
  3. Still having Banner Problems!?
    By Lucky7 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 31 Jan 2009, 09:20 PM
  4. Still having problems with Product Reviews
    By ann0314 in forum General Questions
    Replies: 1
    Last Post: 1 Jun 2006, 04:11 AM

Posting Permissions

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