vForums Support > Programming & Coding :: Code Requests & Support :: > [updated ]Remove base from userbar

[updated ]Remove base from userbar - Posted By ashkir (ashkir) on 27th May 09 at 9:43pm
Well, I used a code to remove the head from the banner, but however, the userbar is effected by it. Is there a way to alienate the two so the userbar can have a head image without effecting the banner?

http://sapphire.vforums.co.uk

Re: Remove base from userbar - Posted By dog199200 (dog199200) on 27th May 09 at 9:57pm
give me a mock image of exactly what you want done because i didn't understand what you where just talking about.

Re: Remove base from userbar - Posted By ashkir (ashkir) on 27th May 09 at 10:03pm
It looked like Image

You really cannot see it without being logged in. I just realized, without this they'd be no PM information, so I readded userbar. However, I'd like a way to add the head image to the userbar, without adding it to the banner. I want the base to remain on the banner, but no head image for it.

Re: [updated ]Remove base from userbar - Posted By GlitchesSocom (ravenelle) on 27th May 09 at 11:05pm
use this instead of the CSS code you used

Code:
 
  1. <script type="text/JavaScript">
  2. document.getElementsByTagName("img")[0].style.display="none";
  3. </script>
 

Re: [updated ]Remove base from userbar - Posted By ashkir (ashkir) on 27th May 09 at 11:18pm
 
use this instead of the CSS code you used

Code:
 
  1. <script type="text/JavaScript">
  2. document.getElementsByTagName("img")[0].style.display="none";
  3. </script>
 


Thanks! I added another line to it

document.getElementsByTagName("img")[1].style.display="none";

Now it works perfectly. (I removed both right and left image).

Thank you Glitches! {Cheesy}

Re: [updated ]Remove base from userbar - Posted By GlitchesSocom (ravenelle) on 28th May 09 at 12:50am
no prob I would of added the second line two but I guess I looked at your source to quick =]