Language Selector

Posted by Community Admin on 05-Aug-2018 15:57

Language Selector

All Replies

Posted by Community Admin on 06-Apr-2011 00:00

Hi,

I set "Display Language Selector as Horizontal List", but it is rendered as vertical list.
Did I misss something?

Thanks,
Andrei

Posted by Community Admin on 08-Apr-2011 00:00

Hello Andrei,

Unfortunately I'm not able to reproduce your problem. Can you tell me what version of Sitefinity are you using? Where did you add your language selector - directly on the page, or on the page template? Do you have any custom style or theme applied to your page / template? Did you make any other changes to the language selector control? Any additional information would be helpful, thank you in advance!

Best wishes,
Petya
the Telerik team

Posted by Community Admin on 08-Apr-2011 00:00


Language selector is on the page template and I am using Non-Profit Starter Kit for testing Sitefinity.
Hope this information helps to nail down the problem.

Andrei

Posted by Community Admin on 13-Apr-2011 00:00

Hi Andrei,

This is not a bug. The problem is that the theme, applied to the template in this sample website, has no style for this widget (Language selector) in its main css. (You can try the widget in another page that has no template or theme applied.) What you should do to make this widget work is:

  • edit the Page template, go to Themes and see what is the selected theme 
  • go to App_Themes folder of your project
  • find the theme that is used by the template (for example CharityBlue)
  • open the Global folder
  • edit main.css and add this:  

.sflanguagesHorizontalList .sflanguageItem

    margin: 0;
    padding: 0;    
    display: inline;
    white-space: nowrap;


When you select Horizontal List it should be working fine

Regards,
Petya
the Telerik team

This thread is closed