Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2058869
Widget in Header
Closed

Comments

  • kieha85 started the conversation

    Hi,

    1. I'm starting a new website and it will be in English and German. I am using Polylang to make it multilingual. They have a language switcher widget and I want to display it on the right side of the header, next to the search symbol. Is that possible?

    2. How can I translate the strings for Penci Review? I want to translate things like "The Goods" and "The Bads".


    Thanks!

  •  2,700
    PenciDesign replied

    Hi,

    1/ You can go to Appearance > Menus > and add "Languages Switch" menu item to your main menu to do that.

    2/ Please use the pencilang shortcode like we said on the documentation here for options for review in Customize > Review Options.

    In your case, the shortcode will look like this for example:

    [pencilang en_US='The Good' de_DE='Die gute' /]
    

    Best Regards,

    PenciDesign

  • kieha85 replied

    Hi, 


    Thanks for the quick response!


    I already have the language switcher in the main menu but I would prefer it in a different position. If possible on the right side of the header next to the search item. Or maybe in the top bar. 

    Is there any way to put widgets into those areas?

  •  2,700
    PenciDesign replied

    Hi,

    If so, please use topbar menu.

    Please go to Appearance > Menus > create a new menu for Topbar and add the language switcher to that menu > scroll down and check to "TopBar Menu"

    After that, go to Customize > Topbar Options > and check to "Enable Topbar" & "Enable Topbar Menu"


    Best Regards,

    PenciDesign

  • kieha85 replied

    Is there any way to display it on the right side of the page? Most websites use the language switcher on the right side so I think people are more used to it that way.

  •  2,700
    PenciDesign replied

    Hi,

    If so, please try add more this code to Customize > Custom CSS to do that:

    #navigation ul.menu > li.lang-item{ position: absolute; right: 70px; }
    


    Best Regards,

    PenciDesign

  • kieha85 replied

    Perfect, that's exactly what I was looking for. Thanks!

  • kieha85 replied

    Sorry one more quick question. If I choose dropdown for the language switcher it still displays on the left side. Do you know how to change it to the right?

  •  2,700
    PenciDesign replied

    Hi,

    Please add more this code to Customize > Custom CSS to do that for select type:

    #navigation ul.menu > li.pll-parent-menu-item{ position: absolute; right: 70px; }
    

    Best Regards,

    PenciDesign

  • kieha85 replied

    Worked like a charm. Thanks as always, you guys are the best!

  •   PenciDesign replied privately
  • kieha85 replied

    Will do! :)