Log in

No account? Create an account

Previous Entry | Next Entry

Formatting problem when there is no user pic.

  • Apr. 19th, 2007 at 12:42 PM
I've noticed a problem on the friends page that occurs when a poster has no user icon. Any formatting and positioning contained within the .user-icon div is lost. So, if you have your icons floated to the right, you'll see the user name and sometime community name stuck at the left without any padding. This would also be a problem for a community's recent entries page.


( 12 comments — Leave a comment )
Apr. 20th, 2007 02:28 am (UTC)
::Looks at your friends page::
Yep, you appear to be correct. A workaround would be to copy the code for print_entry() into your theme layer and comment out the two lines that contain if ($userpic) { and the corresponding closing "}". This would ensure the user-icon DIV is always printed and will preserve your formatting. I'm wondering why this change was made in the first place....
Apr. 20th, 2007 03:19 am (UTC)
Thanks for the suggestion.

I found an example here on this community. Without formatting, there's no space at all between the username and entry, plus, the username looks like it's the first word in the paragraph.

May. 4th, 2007 01:30 pm (UTC)
In case you're still curious, this isn't a "bug", it is a "feature", implemented to keep text from indenting on Entry and Day pages when there is no user-icon. Trouble is, they didn't account for Friends pages or any styling that might have been applied to the user-icon div.
May. 18th, 2007 06:46 pm (UTC)
Thanks, that's interesting. Your suggestion worked fine for my paid account, but that "feature" annoyance will completely prevent me from being able to use Expressive for a community which isn't paid.

May. 18th, 2007 07:55 pm (UTC)
Well, you can't use Expressive with non-paid communities anyway. Use Mixit instead. :P

Sorry... Seriously, I submitted a bug fix to the developers about this, with a better solution than in my first post, but they have yet to acknowledge it, let alone implement it.
May. 20th, 2007 06:23 am (UTC)
I guess I shouldn't give away the secret of how to get a paid theme on a free thingee.

Jun. 21st, 2007 02:08 am (UTC)
Apr. 4th, 2008 12:02 am (UTC)
i realize this post is almost a year old, but i am having the same problem. where do i put that code found in the fix? new to all of this, so i need quite specific directions.
this recent post on this comm has all of the info about the CSS, style and user. thanks!

FWIW i didn't think i needed to post a new question/request for help when the answer seems to be here. :)

Edited at 2008-04-04 12:03 am (UTC)
Apr. 5th, 2008 08:21 pm (UTC)
Unless you are using a theme layer that is older than that release, you shouldn't be having that problem. Can you point me to a post in question?
Apr. 10th, 2008 04:01 am (UTC)
i will try to give you a link to view this issue. here if you go to her friends' page and scroll down a bit (it of course will change as her FList posts), just look for a post without a user icon. the one i see on this page is from cwsource. the icon shows up a bit cut-off/squished to the user name. i hope you are able to see this all right.

Apr. 11th, 2008 06:12 pm (UTC)
Oh, I see. This release (and the problem in the OP) is really only with the default layouts. Yours is a different problem. Find this section in the CSS:
.ljuser img {
    width: 0;
    height: 0;
    background-repeat: no-repeat;
    /* so that IE users will still see an image */
    background-image: url(http://www.crystallinepixels.com/tiggy/pics/user.gif);
    padding: 13px 0px 0px 10px;
Add "!important" to the padding statement, e.g.:
padding: 13px 0 0 10px !important;
(It has to come before the semi-colon.)
Apr. 11th, 2008 06:22 pm (UTC)
thank you very much. that fixed it beautifully.
( 12 comments — Leave a comment )

Latest Month

March 2016

S2 Help Communities


Powered by LiveJournal.com
Designed by chasethestars