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

fueschgast June 19 2012, 11:41:39 UTC
Yeah, LJ changed something again :o/

But fixing it was easier than I expected \o/. Add !important before every semicolon in the userhead codes.

Reply

angrylogic June 19 2012, 11:49:13 UTC
Thanks for that! I was about to reply saying that the same thing had happened to my tiny icons.

EDIT: Ah wait. I just had a look at the code I'm using for tiny icons (from Malionettes generator) which looks like this (with my URL in it):

img[src*="img/userinfo.gif"] {width: 0 !important; height: 0 !important;
background: transparent url(http://img228.imageshack.us/img228/4445/199w.png) no-repeat !important; padding: 16px 0 0 16px !important; }

Looks like there is an !important before every semicolon, but it's still not working :\ Or am I not seeing one?

Reply

fueschgast June 19 2012, 12:04:52 UTC
You need to add .ljuser in front of the userhead codes.

Reply

angrylogic June 19 2012, 14:44:39 UTC
Thanks! That worked perfectly :)

Reply

petitefee24 June 19 2012, 19:24:25 UTC
Thank you so much for this!!! It worked perfectly fine!! <3 <3 <3 <3 <3

Reply

finnickodair June 19 2012, 12:01:11 UTC
...sadly, I already seem to have an !important before all the semicolons, and it's still showing up duplicated, alas.

Reply

fueschgast June 19 2012, 12:09:30 UTC
Including width and height?

Reply

finnickodair June 19 2012, 12:15:37 UTC
...aha!

...but after fixing that, I'm still getting the duplication. :/

Reply

fueschgast June 19 2012, 12:38:01 UTC
Add width and height directly to .ljuser img[src*="userinfo.gif"] and .ljuser img[src*="community.gif"].

Reply

finnickodair June 19 2012, 12:40:30 UTC
Aha! Thank you. :)

Reply

heard_the_owl June 21 2012, 01:34:50 UTC
THANK YOU SO MUCH!!

Reply

shiorita February 3 2013, 01:00:29 UTC
THANK YOU!

Reply

nomoreprinces June 19 2012, 14:14:56 UTC
Thanks! I hadn't even noticed it until I read this post and looked at my own. Shows you how aware I am this early in the morning!

Reply

london_fan June 19 2012, 18:37:05 UTC
Thanks a lot for providing such a quick solution! :)

Reply

betgirl June 25 2012, 01:13:26 UTC
Thanks for the fix! It worked perfectly. ;)

Reply

bookishgeek June 26 2012, 22:36:00 UTC
Am I doing something wrong? :/ I can't seem to figure out how to fix it in my journal.

Reply


Leave a comment

Up