Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • kingo Friend
    #140339

    Hi All,

    I have increased the header graphic height from 42px to 80px and reduced the bottom padding to 5px, as the logo does not fit very well.

    h1.logo a {
    width: 435px;
    display: block;
    background: url(../images/logo.gif) no-repeat;
    position: absolute;
    height: 80px;
    bottom: 5px;
    left: 0;

    http://www.one-stop-english.com

    As you can see the logo is off the top of the page, it is 80px. Can someone advise where to drop the menu bar down or otherwise fix the mess I am now in >?

    Thanks

    mfcphil Friend
    #301657

    Think it may just be a case of changing the height

    h1.logo a {
    width: 435px;
    display: block;
    background: url(../images/logo.png) no-repeat;
    position: absolute;
    height: 90px;
    bottom: 5px;
    left: 0;
    }

    Almost the same size as yours my logo canvas is 385 by 100 😉

    kingo Friend
    #301658

    Sorry Phil, No good. Changed to 90px and looks the same.

    Thanks anyway.

    kingo Friend
    #301659

    Tried changing the position from absolute to top, and it kind of works. Except you lose the padding from the bottom.

    Arvind Chauhan Moderator
    #301660

    if you want to push your logo down and have free space over it.

    open your template.css file around line 697 edit this code :

    [PHP]/* HEADER
    ——————————————————— */
    #ja-header {
    height: 80px;
    line-height: normal;
    position: relative;
    }[/PHP]

    to

    [PHP]/* HEADER
    ——————————————————— */
    #ja-header {
    height: 100px;
    line-height: normal;
    position: relative;
    }[/PHP]

    Hope it helps.

    regards

    mfcphil Friend
    #301715

    OK what is required is a mixture of three things to get your logo put right.

    first as Drarvindc said change the header

    /* HEADER
    ——————————————————— */
    #ja-header {
    height: 100px; (CHANGE TO REQUIRED….try 120 and work done to what you need)
    line-height: normal;
    position: relative;
    }

    Then change the logo part we were doing earlier

    h1.logo a {
    width: 435px;
    display: block;
    background: url(../images/logo.png) no-repeat;
    position: absolute;
    height: 90px;
    bottom: 5px; change this to suit
    left: 0;
    }

    Now you will need to alter the log-in box which has gone up.

    Find the log-in code

    /* Login Form */
    #ja-login {
    background:#38769e url(../images/grad5.gif) repeat-x scroll center bottom;
    border-color:#E7E8E6 #E7E8E6 #CCCCCC;
    border-style:solid;
    border-width:1px;
    padding:4px 8px;
    position:absolute;
    right:0;
    top:5px; (change to what you need…about 25)
    }

    you should just about be there….a little tweek and your done

    Hope this helps 😉

    kingo Friend
    #301741

    Thanks a lot, both of you.

    Job done, and it looks ok.

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 3 voices, and was last updated by  kingo 15 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum