Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • strite Friend
    #160069

    We’re looking at extending the Sanidine II logo space to take up the full width of the top area, to create a banner. We’re almost there but the selected buttons has a minor 3~ pixel bit to the right of colour which we just cant suss how to remove.

    I’ve attached the image below to the exact issue.


    1. issue
    Ninja Lead Moderator
    #376313

    what have you modified? could you provide your site link?

    strite Friend
    #376416

    It’s been nearly 24 hours and no response…

    Surely someone can help with this small issue?

    Thanks.

    Phill Moderator
    #376422

    Erm, hungnd replied above. We need to see what you have changed so please provide the information he has requested and we will be able to help.

    strite Friend
    #376426

    <em>@phill luckhurst 221087 wrote:</em><blockquote>Erm, hungnd replied above. We need to see what you have changed so please provide the information he has requested and we will be able to help.</blockquote>

    Hi there Phill. Appreciate the reply, however not sure what’s going on here but there is no reply on my end by ‘hungnd’ whatsoever! Which information precisely is required?

    Cheers!

    Phill Moderator
    #376427

    Can you not see his post above yours in this thread?

    We will need a link to your site and details of exactly what you have changed code wise. Enlarging the logo area is a very simple procedure. It might even be better to restore to the default then we can detail how it is done from there.

    strite Friend
    #376434

    No oddly enough! The first 2 posts are my own then your reply.

    As it stands its back to default (no code changes), so if it’s easier to go from there then we can certainly give that a shot.

    URL – http://www.game-pad.net

    aman204 Friend
    #376452

    It would be great if you could make the changes so it would make easier for us to debug the issue as seen in screenshot 🙂

    Phill Moderator
    #376456

    Do you want the logo full width? To do that you should open template.css and around line 885 you will find the following code


    h1.logo a {
    background:url("../images/logo.png") no-repeat scroll center center transparent;
    display:block;
    height:70px;
    width:330px;

    }

    change this to


    h1.logo a {
    background:url("../images/logo.png") no-repeat scroll center center transparent;
    display:block;
    height:98px;
    left:-20px;
    position:relative;
    top:-10px;
    width:928px;

    }

    and you will have the entire white area for your logo block.

    strite Friend
    #376459

    I’ve attached an image of where we’re at now, this change is also currently present on the site too. We’ve made a black image to test. As you can see the buttons now don’t overlap smoothly and there also appears to be a small white border on the top bottom and right hand side. How would we go about fixing that?

    Thanks in advance


    1. header
    Phill Moderator
    #376475

    The images used for the tabs are not transparrent. You will have to edit those in an editor if you want to use them (mainnav-active.gif) with a black or transparent background.

    As for the size, to get rid of the borders you are seeing adjust the code I provided to match below.

    h1.logo a {
    background:url("../images/logo.png") no-repeat scroll center center transparent;
    display:block;
    height:100px;
    left:-20px;
    position:relative;
    top:-11px;
    width:930px;

    }

    strite Friend
    #376482

    Thanks Phill, we’ve done what you suggested which has removed the white lines. Have also saved the button as a PNG and changed the code so it recognises it as opposed to mainnav-active.gif it is now mainnav-active.png however this brings us back to the original issue.

    If you look at the site now we are having the same problem that we originally created this thread regarding – Namely that little orange block at the top right of the button that we can’t get rid of. You can see it on our site as well as in the image attatched to the first post of this thread.

    Any suggestions?

    Thanks for all your help so far, it’s greatly appreciated. If we can solve this last little issue then we’re sorted!

    John Wesley Brett Moderator
    #376486

    Do get rid of that pesky orange block…
    Goto: …/templates/ja_sanidineii_light/ja_menus/ja_scriptdlmenu/ja.scriptdlmenu.css
    Line 79

    Add the following in red:


    background: url("../../images/mainnav-active.png") no-repeat scroll right top transparent;
    cursor: pointer;
    height: 40px;
    line-height: 45px;
    margin-right: -5px;

    Have fun!
    John.

    strite Friend
    #376487

    Smashing 😀 Thanks alot jbrett, that’s brilliant. Always the simplest problems that cause us headaches isn’t it? :laugh:

    Tyvm.

    Phill Moderator
    #376497

    I would have though -10px would look a little neater.

    Be sure to enter your site in the site of the month competition, it is looking vey nice.

Viewing 15 posts - 1 through 15 (of 16 total)

This topic contains 16 replies, has 5 voices, and was last updated by  strite 13 years, 8 months ago.

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