Help With Mood Theme Image!

Apr 15, 2010 16:35

Ugh! I really hate to be a bother, but I couldn't find anything in the list and tinkering with it wasn't getting any results... so hopefully someone can help.

Is there a way to move the image of the mood theme up so it is aligned with the top of the wording? Currently, it is like this:


Read more... )

entries:metadata

Leave a comment

av8rmike April 16 2010, 02:24:21 UTC
What I would do is a bit of a combo-S2-and-CSS fix. Look for this line in your Entry::print_metadata() function:

$currents = $currents + """class="asset-meta-table">$.mood_icon""";

(Add in the highlighted text.) Then, add this line to your CSS:
.asset-meta-table td { vertical-align: top;}

Reply

dinahqueen April 16 2010, 02:46:30 UTC
Oh, yay! That's excellent :)

Now, is there a way to add a border, about 2px thick just around the mood icon picture?

And is there a way to force your tags to be on one line if you've only chosen two of them? Because mine is going on to a second line for no reason.

Reply

av8rmike April 16 2010, 03:48:21 UTC
Sure:
img.meta-mood-img { border: 2px solid #xxxxxx; }

Of course, change the xxxxxx to whatever color you want. For the tag list thing, it looks like the left margin on .asset-tags-list can't be less than the width of .asset-tags-header, which in your case is 13px. So, try increasing the margin to 13px.

Reply

dinahqueen April 16 2010, 04:09:52 UTC
Thanks! That worked like a charm. You're wonderful! I'll be sure to ask if I have any more questions, but I think my layout is finally approaching what I'd deem as perfect as I want it!

Reply

xyndarella June 9 2010, 13:42:09 UTC
Hi there. I'm having similar problems with my tags. Here is an example:

... )

Reply

av8rmike June 10 2010, 13:35:39 UTC
For some reason, the little bit of padding and lack of width in .asset-tags-header is messing with the line breaks (I don't understand it, either). Try this instead:
.asset-tags-header {padding-right: 2px; width:16px;}
.asset-tags-list {margin-left: 18px;}

Reply

xyndarella June 10 2010, 14:04:52 UTC
Thank you so, so much!

That has fixed my problem and my journal is close to exactly how I want it.

I also apologise for responding to a comment thread and not making an actual post myself. I thought it may have been more relevant to respond as I did, but in future I will make a new post.

Thank you again.

Reply


Leave a comment

Up