Recent Topics

1 Sep 06, 2009 18:43    

I'm having some difficulty styling titles for posts rendered in the Universal Items widget. They have no special class tag, and apparently the <h3> class (from items.block.inc.php) used for general post Titles does not render in the widget.

You can see my b3 test skin here, a work in progress obviously: http://mostmodernist.com/obama/ (scroll down. like my skin so far?)

Also, would it be difficult to hack the "read more" [!M] function (or Permalink) into the widget, so that after the teaser there is another place to click?

Lastly, will somebody tell me where the code for this plugin lies, so that I can try my hand at a hack or two?

Thanx!

2 Sep 07, 2009 06:02

The Universal Items widget uses this I think: class="widget_core_coll_item_list"

Then on the widget itself, you have the option to put a:
CSS Class: and DOM ID:

You can start from there without opening any .php files.
Try to target your anchor links for the titles in CSS, that should do the trick, something like:
.widget_core_coll_item_list > a { }

Or if you entered a CSS Class or DOM ID, then you can use that.

Hope that helps!

3 Sep 08, 2009 17:13

Unfortunately that doesn't do anything to isolate the title from the body post.

The way around it is to style the title and the block itself using <li> and then style the content with the widget-supplied class "item_content". That's sort of like rowing upstream, but it works all right.

Also, widget doesn't automatically render a "Read More" or permalink at the bottom of each post.

see more here: http://mostmodernist.com

The middle column is the widget set to other posts from the same blog. As you can see there, the widget also duplicates the main post. Is there a way to have it skip that?

4 Sep 08, 2009 17:30

.colItem2 a{
color:#f00;
}

.colItem2 .item_content a{
color:#0f0;
}

Non-duplication is a smidge of a bitch, you'd need to feed the widget "page=1? 2 else 1" ... ish

¥


Form is loading...