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

Bert Van Kets mailing at vankets.com
Tue Apr 17 06:46:43 UTC 2012


On 16/04/2012 15:28, Daniel Germer wrote:
> 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
>
>
Thanks. That should fix it.

Bert



More information about the support mailing list