![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
I tried to add a vertical space between the two syndication links at the top of each feed entry and the actual feed content. The problem, however, is that the same css class -- .ljsyndicationlink -- is applied to both syndication links. This makes it somewhat difficult to style one syndication link without affecting the other. Then I thought I could work around the problem by adding margin-top to the actual feed content, but this isn't possible either since no separate css class is applied to the feed content; it consist basically of many p-components. This means .journal-type-Y p:first-child{} doesn't work either since the syndication links and the syndication author are a subset of p. My "solution" to the problem was to remove the syndication links altogether, and to add margin-bottom to .syndicationauthor. But the syndication links can be quite useful sometimes... So, the big question is: have I missed something here? As usual, any help is greatly appreciated :)
P.S: A p-tag doesn't seem to be properly closed in all hathorlegacy feed entries. Not sure if this is a problem on our end or if it can be traced back to the feed source. This isn't a big deal for me, I've only noticed it while trying to figure out the problem above.
P.S: A p-tag doesn't seem to be properly closed in all hathorlegacy feed entries. Not sure if this is a problem on our end or if it can be traced back to the feed source. This isn't a big deal for me, I've only noticed it while trying to figure out the problem above.
Tags:
no subject
Date: 2010-08-10 07:02 pm (UTC).ljsyndicationlink + p {
margin-top: 2em;
}
Edit: argh! No good since it also applies to the content p. *thinks some more*
Ah! This seems to work better:
.syndicationauthor + p + p {
margin-top: 5em;
}
no subject
Date: 2010-08-10 08:49 pm (UTC)Edit: I just realized that it only works if there actually is a syndication author, which isn't always the case... But it looks like
no subject
Date: 2010-08-10 09:16 pm (UTC)no subject
Date: 2010-08-10 09:23 pm (UTC)no subject
Date: 2010-08-10 08:10 pm (UTC)no subject
Date: 2010-08-10 08:56 pm (UTC)no subject
Date: 2010-08-10 09:13 pm (UTC)