Jump to content

Header / Logo Issue


starlite

Recommended Posts

Hi ive been told to come here, as people say you guys are the best :)

 

Im using PHP NUKE 8.2 with the FI Black 3d Theme.

 

im having a bit of an issue with the Logo at the top of the page. i did find some solutions which works on some browsers but anyone higher than 1024 resolution the banner is all over the place. on like 1240 and 1366 theres about 8cm that the logo doesnt cover this is with resolution 1366 http://img685.imageshack.us/img685/908/logohodk.jpg

 

This is the code of the Header.html with the javascript someone told me to use to get it to resize - http://pastebin.ca/2201758

This is the theme.php - http://pastebin.ca/2201768

 

Can anyone advise how I can fix the issue, many thanks

Link to comment
Share on other sites

and i can tell you now that the issue lies here:

if (swidth>=1024){
         document.write("<img src=$mod_logo width=965 border=0>");
      }
      } 

 

That says the maximum the image will be is 965px.  You can use the css property background-size: cover, which will work on most modern browsers (IE >= 9)

Link to comment
Share on other sites

 

ive never used css before, so i would not know how to do it. See the issue as well is, the theme logo is only meant to be on the left side and alot smaller as the right side has one of them pictures which auto sizes for the browser. So im trying to force the logo to cover the whole header. at first i was trying to do that via changing the image size.

 

when i found that code above i tried that and it made the difference on smaller resolutions. So how could i tie in this css your saying into the current header?

 

 

Im sorry for being crap at this, as im not the best at this coding :)

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.