site: http://amalthia.mediawood.net/ebooks/viewuser.php?uid=1
username: ebooks
password: forus
nature of problem: I figured out how to get to classifications to stay in a straight line but now they are all mushed together. 🙁
I used this in my style.css [.classifications BR {display: none;}] and this in my listings.tpl [<div class="classifications"> <strong>{classifications} </strong></div>
]
what I'm trying to do is add some space between each classification.
I'd appreciate any and all help.
Add this to your CSS:
.classifications a {padding-right: 1em;}
Add this to your CSS:
.classifications a {padding-right: 1em;}
that worked, but the comma does this --- Genre: Drama , Pre-Series , Slash (it's workable, I changed the 1em down to .3em and it's less noticeable) but curious as to why the comma shifted away from the word it's supposed to follow.
Because the padding is added to the a tag and the comma is not part of the link.
If you want to do it perfectly, you'll need to change you template to use global variable instead of {classifications}. Look in "creating skins.html" in the docs folder that came with your download. There is a section on listingstpl that explains how to do this.
Because the padding is added to the a tag and the comma is not part of the link.
If you want to do it perfectly, you'll need to change you template to use global variable instead of {classifications}. Look in "creating skins.html" in the docs folder that came with your download. There is a section on listingstpl that explains how to do this.
I've looked in creating skins.html and under listings it says nothing on how to create a global variable?
Both the seriesblock and storyblock should contain the following variables:
{title} - Title of the story/series
{author} - Author (Owner if it's an open series) of the story/series
{score} - The story/series rating by members like/dislike or stars
{reviews} - A link to the reviews for the story/series
{numreviews} - the number of reviews linked to a listing of reviews for the story/series
{summary} - The summary for the story/series
{category} - The categories for the story/series
{genres} - The genres for the story/series
{warnings} - The warnings for the story/series
{characters} - The characters for the story/series
{challengelinks} - If the story/series is a response to a challenge this will contain links to the challenge/s
They are already created for you. These are them. Use them like this:
<div class="classifications"><span class="label">Category:</span> {category}, <span class="label">Reviews: {numreviews}</div>
You'll have to figure out which ones you want to display and type them in. If you have custom ones, you can get the variable from your admin center. It should be the name of the classification.
They are already created for you. These are them. Use them like this:
<div class="classifications"><span class="label">Category:</span> {category}, <span class="label">Reviews: {numreviews}</div>You'll have to figure out which ones you want to display and type them in. If you have custom ones, you can get the variable from your admin center. It should be the name of the classification.
I think I understand what you mean. will give this a shot.
