[support] customizing language switcher in D7 (Bert Van Kets)

Daniel Germer daniel at triple5.org
Mon Apr 16 13:28:11 UTC 2012


On 16.04.2012 14:00, support-request at drupal.org wrote:
> Re: customizing language switcher in D7 (Bert Van Kets)

 I would like to add a separator between the different language links by changing the html using theming.

you know that you can do this also with css, without changing your template.
Either use an image that is in the form of your separator and put it into the background of the language item or you can use the css :after pseudoelement that lets you insert any character (e.g. | or :: or anything similar)
see:
http://www.w3.org/TR/CSS2/selector.html#before-and-after




More information about the support mailing list