The term name is indistinguishable from action links ("edit term", "search for term") in the glossary view. All on the same line, same font size and there is no separator of any kind between term name and first action link.
Also, very hard to correct this with CSS because term name does not have its own CSS class, and also the action links do not have the usual "first" or "last" classes.
Suggestion:
- add a CSS class to term name
- move action links to another line
- use theme_links to render the action links
Comments
Comment #1
nancydruIt has a class indicating its depth in the vocabulary. Further, it is a DT element within a div with class=glossary-list and the links have their own classes. On my sites, this gives me enough flexibility to style them separately. And the default CSS seems to be fine for most people.
Is it possible that your theme is messing this up?
Comment #2
mariuss commentedBoth the depth class and the dt element wrap the term name and the action links, so they cannot be used to single out the term name.
The action links have their own classes, but the term name does not.
In most cases you will not see the action links, but if they do show up then the default is quite confusing.
Also, please consider using standard rendering of action links.
I don't think there is anything wrong with my theme.
Comment #3
alex72rm commentedTry this in your .css
Comment #4
mariuss commentedAlex, this wasn't a support request. Thanks for the css example, it helps.
I still think that action links should be rendered the standard Drupal way, and it should be easy to do.
Comment #5
nancydruFixed by #284126: How can i disable "search for term" on the glossary-page next to each term?
Comment #6
mariuss commentedIMO being able to turn the action links off is not really fixing this issue.
If you do need these links, then by default they blend in with the term name. AFAIK that is still a problem.
Just use theme_links to render them and place them below the term name.
Comment #7
nancydruEach one has its own class now; define your CSS anyway you want. The supplied CSS puts a 2em spacing on the left.
Comment #8
mariuss commentedSounds great, thanks.
Comment #9
nancydru