![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
So, as of DW's latest code push, I'm seeing little arrow-shaped links on either side of every single tag on my journal entries. These links do nothing more useful than point to the last entry using that tag (or worse, an error page, if there's no earlier/later entry to point to). This seems like utterly redundant, pointless clutter to me.
Very simply, I do NOT want to be seeing these arrow links. If someone could provide me with some code for getting rid of them, I would tremendously appreciate it. Thank you.
Very simply, I do NOT want to be seeing these arrow links. If someone could provide me with some code for getting rid of them, I would tremendously appreciate it. Thank you.
Tags:
no subject
Date: 2015-01-19 03:17 am (UTC)no subject
Date: 2015-01-19 03:31 am (UTC).page-entry .tag ul li a:first-child,
.page-entry .tag ul li a:last-child { display: none; }
Put that in your theme's Custom CSS, and as long as you're viewing a page in your own style it should remove them. If you want something that will have an effect across the site, you can put it in a Stylish style for the whole domain dreamwidth.org. To get them all, you'll need to look at the classes on the outermost div of all the pages you see them on and add more lines with that class instead of .page-entry.
no subject
Date: 2015-01-19 03:39 am (UTC)(And because of other customizations, I view all DW pages in my own style by default, so that won't be a problem.)
no subject
Date: 2015-01-19 11:05 am (UTC)no subject
Date: 2015-01-19 06:12 pm (UTC)no subject
Date: 2015-01-19 08:53 pm (UTC)no subject
Date: 2015-01-19 09:33 pm (UTC)The only other thing that I can think of that could go wrong is if your browser is too old to understand "first-child" and "last-child". Those a relatively recent additions to CSS, and if you're running a browser version from a few years back it may not be able to parse them. ...though, in that case your layouts would likely have significant issues in other places as well. *hands* Other than that, no idea.
Oh, wait, one more idea. If your browser caches metadata like style sheets for faster loading, you may have to clear your browser cache and reload the page before the browser even "sees" the new CSS. Google "clear browser cache" if you've never done that, directions vary a lot between browsers.
no subject
Date: 2015-01-19 09:58 pm (UTC)I have this for the body class.
"<body class="page-read two-columns column-left any-column multiple-columns two-columns-left logged-in my-journal not-subscribed has-access has-navstrip">"
I have no idea how to change that if I need to, though.
(I have no clue if that's helpful. My CSS ends at copy-pastaing things.)
no subject
Date: 2015-01-19 10:39 pm (UTC)If you're seeing the tag arrows on your Reading page, that's a bug and you should report it. They're not supposed to show up on the aggregate pages like Reading or Recent Entries.
I'd try clearing your browser cache and reloading an entry page, to see if that works.
no subject
Date: 2015-01-20 03:27 pm (UTC)no subject
Date: 2015-01-20 03:36 pm (UTC)no subject
Date: 2015-01-20 09:20 pm (UTC)no subject
Date: 2015-01-21 07:41 pm (UTC)no subject
Date: 2015-01-20 03:39 pm (UTC).page-entry .tag ul li a:first-child,
.page-entry .tag ul li a:last-child,
.page-recent .tag ul li a:first-child,
.page-recent .tag ul li a:last-child,
.page-reading .tag ul li a:first-child,
.page-reading .tag ul li a:last-child { display: none; }
no subject
Date: 2015-01-21 04:19 am (UTC)no subject
Date: 2015-01-21 04:40 am (UTC)For the moment I've switched back to the original, smaller bit of code, so I'll at least have arrow-less tags on the pages most important to me. (Of course, I would certainly *like* to get the arrows off the tag-filter pages too--if it won't make the tags on my main page go poof.)
no subject
Date: 2015-01-21 04:02 pm (UTC)Okay, looks like the original version with just .page-entry is the only option for now! I imagine the arrows will get some kind of class when the next round of patches goes in. I haven't actually looked at their generation code, but that's usually a fairly simple addition in the S2 code.
no subject
Date: 2015-01-22 01:58 am (UTC)(convert the last bits to display: none - "-moz-begone: vile creature" won't work - though considering the monstrosity it's hiding, I don't see why not)
no subject
Date: 2015-01-22 02:09 am (UTC)no subject
Date: 2015-01-22 03:05 am (UTC)From what I understand the dev was not able to include CSS with their patch because a) he or she doesn't work with CSS very much so it was not on their mind (but the person has since apologized for this where even I don't think that was necessary, but it was very nice of them to do).
And there is nothing technically wrong with the patch! As executed, it is working exactly as intended. It's not so easy to modify via CSS or even any predictable backend tweaks because of what tweaking it to only show when actually useful, for example, would do to our server loads.
I'm not knocking the patch for any of that; it was executed well and exactly as it should be. I just don't like the looks of the arrows. And if you're going to rail at me for that, then I would like you to visit the most recent DW News page and make a similar rail against the literally dozens - if not hundreds - of other users who have expressed exactly the same displeasure over exactly the same thing - the overall unsightliness and visual clutter and confusion of it. From a strictly visual perspective, a lot of us agree that it looks awful.
Again, I am not knocking what this dev has contributed; it was probably one of the toughest patches anyone besides fu has coded up for DW in a long time, and for that this person definitely has my admiration, especially considering the sheer amount of direct - and definitely undeserved - blowback the are getting for it in the DW News comments now.
no subject
Date: 2015-01-22 03:29 am (UTC)no subject
Date: 2015-01-22 04:31 am (UTC)And my reason for linking to the comment in question (which I have not explained until now, either, so just to clear that up) was to not give myself credit for what I viewed as the best way to code for this issue, as it belongs to the person making the less-than-diplomatic comments, not to me. I have a thing about not taking credit unless of course I would've thought of that solution myself (but I would never have thought of that one, I can assure anybody).
I was probably thinking that since the patch dev has been responding to comments in the DW News post pretty diligently even if they're not directly addressed to them and even if they do seem at least a bit inflammatory in nature that my agreeing with the tone of the comment I linked to was not a big deal (or otherwise I would never have put things the way I did - and no, just because I justified it to myself that way at the time does not make it right - not in hindsight).
Point taken all around; if the dev is or was hurt by and/or has expressed to you or anyone that my comments are an issue then I apologize, both for the tone of my words and for not thinking much more on this before posting - so as to save the feeding of any and all fires - and I thank you for having this discussion with me.
no subject
Date: 2015-01-22 02:14 am (UTC)no subject
Date: 2015-01-22 05:02 am (UTC)I'm glad you got a better answer in the comments below (and I'm going to try that solution myself, just to make sure I'm getting rid of the arrows on every possible view).
Gets rid of spaces too:
Date: 2015-01-22 03:20 am (UTC).tag li{
font-size: 0px !important;
}
.tag-text {
font-size: inherit;
}
.tag a {
font-size: [your layout's font size for tags];
}
.tag li:after {
content: ",";
font-size: [your layout's font size for tags] !important;
}
.tag li:last-child:after {
content: "";
}
.tag li>a:not([rel=tag]) {
font-size: 0px;
}
Edit: I fixed it.
Re: Gets rid of spaces too:
Date: 2015-01-22 03:56 am (UTC)So, I'll still have to stick with
Re: Gets rid of spaces too:
Date: 2015-01-22 04:08 am (UTC).tag li{
font-size: 0px !important;
}
.tag-text {
font-size: inherit;
}
.tag a {
font-size: 13px;
}
.tag li:after {
content: ",";
font-size: 13px !important;
}
.tag li:last-child:after {
content: "";
}
.tag li>a:not([rel=tag]) {
font-size: 0px;
}
Sorry I wasn't clear enough.
Re: Gets rid of spaces too:
Date: 2015-01-22 04:32 am (UTC)(And sorry for the mixup. I saw you had edited the comment a few times, but you took out the separate note about changing the font size, so I thought it was just copy/paste then. My bad for not paying attention to the instruction within the actual code.)
Re: Gets rid of spaces too:
Date: 2015-01-22 04:36 am (UTC)Re: Gets rid of spaces too:
Date: 2015-01-22 04:41 am (UTC)(Now I can go back to my own business, and forget all the drama that's developed everywhere over the whole thing...)
Re: Gets rid of spaces too:
Date: 2015-01-24 10:58 am (UTC)Re: Gets rid of spaces too:
Date: 2015-01-25 07:58 am (UTC)