Default userhead blocking custom userhead.

Jun 19, 2012 21:09

I'm having issues with the layout on my journal and graphics page. Suddenly, instead of replacing the default userhead with the custom mini-icon coded in my CSS, the default is appearing in front of the custom one. Ala the following:


Read more... )

misc

Leave a comment

Comments 89

(The comment has been removed)

london_fan June 20 2012, 18:12:51 UTC
This code should do the trick for you ( ... )

Reply

(The comment has been removed)

london_fan June 21 2012, 20:15:45 UTC
You're welcome. Glad I could help!

Reply


finnickodair June 21 2012, 09:52:48 UTC
Ok, I used the above code, and that fixed it for the most part... but I'm getting an issue with users who have purchased a custom userhead, where it's displaying both the one coded for in CSS and their personal userhead.

You can see what I mean in this comment here.

Reply

fueschgast June 21 2012, 10:42:27 UTC
Delete the line .ljuser line that isn't followed by an image URL in square brackets

Reply

finnickodair June 21 2012, 10:45:45 UTC
Thank you :]

Reply

(The comment has been removed)


chasingvertigo June 21 2012, 20:10:52 UTC
Thank you so much, fueschgast! Could not for the life of me figure out what was going on.

Reply


projectwriters June 22 2012, 03:12:14 UTC
Hello! We were trying to fix this userhead issue in our roleplay comm, projerctrewrite, and we're not very sure of what is happening that results in the duplicate userheads. This is the code we're trying:

.ljuser img[src*="userinfo.gif"] {background-image: url(http://i46.tinypic.com/ekeqf.png) !important; padding: 16px 16px 0px 0px !important; width: 0 !important; height: 0 !important;}

Is there something we're missing? Thank you in advance if you can help us! We're rather new when it comes to the more advance CSS codings.

Reply

fueschgast June 22 2012, 10:28:17 UTC
I couldn't find any userheads of users (but I think that code is working) - what I could see is a community userhead. You can fix that one by copying the .ljuser img code and replacing userinfo.gif with community.gif.

Reply

projectwriters June 24 2012, 02:01:45 UTC
Thank you! It solved the problem for us quite handily.

Reply


avictoriangirl June 22 2012, 04:04:19 UTC
Help! I've tried to fix my CSS and seem to have !important in all the places it should be, but it's still not working. Here's my code ( ... )

Reply

fueschgast June 22 2012, 10:55:17 UTC
Oh, there's a lot to do. Let's see...

1. Delete the .ljuser img code that has no URL following it.

2. Then... no, you know what? We'll just do it with copy & paste. It's less works and less confusing. Replace the remaining 2 userhead code with

.ljuser img[src*="userinfo.gif ( ... )

Reply

avictoriangirl June 22 2012, 12:21:24 UTC
That worked! Thank you so very much! ♥

Reply


Leave a comment

Up