CSS Code for Fake Shopkeeper like Fake Shields?

15 posts / 0 new
Last post
Nilrem
Nilrem's picture
Offline
Last seen: 7 years 10 months ago
Joined: 09/08/2008 - 11:41pm
CSS Code for Fake Shopkeeper like Fake Shields?
Hi guys, I really want to cover up the goth uni avie shopkeeper on my lookup. Most of the free user lookup layouts dont cover this up. This site and other neo help sites have shield replacement graphics with a short CSS code that only changes the shield. I was wondering if anyone knows the code to do the same thing for the shopkeeper. I plan to replace the shopkeeper with some a graphic of training and luck items which I stock so I wont need a custom shopkeeper, just the code and told to where to put the image address. Id appreciate any help and will put credit on the image for the code if its custom. :) Thanks :)
silverdragon
silverdragon's picture
Offline
Last seen: 12 years 3 months ago
Joined: 10/06/2007 - 1:58pm
It is possible. But unlike the ul shields the shopkeepers aren't specified as their own class, meaning you can't change the onscreen pic to one of your choice while "fooling" the scripts that you have a normal shopkeeper. You can however place a new picture on top of the normal shopkeeper and thus cover it up, but positioning like that might be difficult since it tends to look different in different browsers/screen resolutions. The only way I can think of is to place the element relative to something else in your shop which will change dimensions with the browser used, such as and empty table. I might look into it and see what I can do :) EDIT: I just did some testing, and it seems like you can't position elements in the way I described. The only other way around it I can think of is to give the image a fixed position, which unfortunately only would work in Firefox. I'll give it some more thinking and see if I can come up with another approach. ___________ [color=gray]Chris, aka wushu_soldier[/color] [size=11][i]Sniper, maller, reseller Background shop of X-Mart Neomallers graphics designer[/i][/size]
___________ [color=gray]Chris, aka wushu_soldier[/color] [size=11][i]Sniper, maller, reseller Background shop of X-Mart Neomallers graphics designer[/i][/size]
Nilrem
Nilrem's picture
Offline
Last seen: 7 years 10 months ago
Joined: 09/08/2008 - 11:41pm
Thanks for the reply Wushu, I guess I didnt know what I was getting into and asking of everyone. I assumed it wouldnt be any more difficult then changing the shields, but it makes sense now why you dont see custom shopkeepers like shields. Id def be curious if you come up with anything, but dont go to too much trouble
nicx321
nicx321's picture
Offline
Last seen: 3 months 2 weeks ago
Joined: 26/10/2007 - 7:37am
Umm, I'm not too sure, but I don't think that you can "cover" it up. There was an issue back where people would cover over a junk item say with a picture of an item such as a pb and have the price >100k (like 99k or w/e), whilst the buyer thought that they were buying a pb for buyable price, they were just being scammed :( So neo had to block the positioning thing. If you do find a way of doing it though I'd love to see the result :)
heartlessness_
heartlessness_'s picture
Offline
Last seen: 13 years 4 months ago
Joined: 13/06/2009 - 10:10am
They aren't talking about inside a shop, he wants to cover it on his lookup. *pokes Dmitri's userlookup* .:| Paint Brushes & Maps |:. http://www.neopets.com/browseshop.phtml?owner=heartlessness_&banner
nicx321
nicx321's picture
Offline
Last seen: 3 months 2 weeks ago
Joined: 26/10/2007 - 7:37am
oh opps, sorry, I read it wrong :P I'd still like to see the results from it though...
perpette
perpette's picture
Offline
Last seen: 5 months 2 weeks ago
Joined: 27/01/2008 - 1:32pm
#usershop img{visibility:hidden} #usershop .contentModuleContent{background:url(blahblahblahblah.blah) no-repeat top center} :D
jetcitywoman13
jetcitywoman13's picture
Offline
Last seen: 2 years 2 months ago
Joined: 29/12/2008 - 2:44am
I thought it was 6 blahs, not five. ;)
Nilrem
Nilrem's picture
Offline
Last seen: 7 years 10 months ago
Joined: 09/08/2008 - 11:41pm
Thanks so much steph, the code worked perfect!. It took me a second to realize I couldnt just paste the code but needed to add the ( style ) tags to work, doh. I made it match my lookup map :), so I definitely like it alot more then that goth uni thats been there foreverrrrr lol Thanks again Now im curious if theres a way to cover the one inside my shop also ? I didnt think the code would be exactly the same, but I tried to add it into various places of the shop layout, but it had no effect. Anyway one know if the shopkeeper inside can also be covered, it would be nice to put a greeting image, or banner there instead.
silverdragon
silverdragon's picture
Offline
Last seen: 12 years 3 months ago
Joined: 10/06/2007 - 1:58pm
I'm sorry, I thought you were looking for a way to cover up the shopkeeper in your shop, not on your ul :P Anyway, #usershop would be the class defining your shopkeeper on your lookup, but like I said earlier the one in your shop does not have it's own class. This makes it a whole lot more tricky. The positioning methods I've tried so far hasn't worked, so it might very well be true that TNT has blocked it completely. Normally there are ways to get around it, but if it really is blocked it probably wouldn't be safe to do even if I did come up with a way :P ___________ [color=gray]Chris, aka wushu_soldier[/color] [size=11][i]Sniper, maller, reseller Background shop of X-Mart Neomallers graphics designer[/i][/size]
___________ [color=gray]Chris, aka wushu_soldier[/color] [size=11][i]Sniper, maller, reseller Background shop of X-Mart Neomallers graphics designer[/i][/size]
Nilrem
Nilrem's picture
Offline
Last seen: 7 years 10 months ago
Joined: 09/08/2008 - 11:41pm
Hey silver dragon, in the end I was trying to cover both the shopkeeper in my shop and the one on my lookup so your effort wasnt wasted. I appreciate that you took some time to look into it for me, so thanks again :)

Pages