Closed (fixed)
Project:
Teaser block
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2008 at 14:54 UTC
Updated:
21 Apr 2009 at 00:22 UTC
This module is just great--and has solved a problem for me--but I need to theme it.
Specifically, the "Read more" link needs to be separated from the block text; at present, the link shows up hard against the block text. See an example here: http://organizedchristmas.com (the teaser block is the "this week at Organized Christmas" box in the upper right of the page).
How can I either theme or tweak the block so that there is a line or space separating the link from the text?
Thank you.
Comments
Comment #1
Cynthia Ewer commentedJust adding that I've managed to get what I need by a kludgy HTML fix, inserting non-breaking spaces and line breaks into the teaser itself.
Still would like to figure out how to theme the link so it matches the rest of the site's "read more" format. Looking at the page code, I'm going to try to add the class teaser-block-more-link to my style.css, and see what happens.
Cynthia
Comment #2
sunExactly. You can add styles for the CSS class, f.e. display: block, which will result in a more link on a new line.
Comment #4
stevestatic commentedi don't get, how can i add styles for the teaser-block, and the read-more link? how i it called?
.teaser-block a {} ?!?!
Comment #5
jimmb commentedI was able to get it to work with:
.teaser_block-more-link {
display: block;
}
Jim