Site logo

Archived topic

Polylang flags (switcher) in topbar block element

6 replies · Started by Pawel on September 30, 2021

Viewing posts 1–7 of 7

I created a page temp.neocast.eu and I would like to put flags into created top bar block. How to do it. Widget is not available in block element.

thank in advance
Pavel

Hi there,

simplest solution would be to use the Top Bar Widget area instead of the Block Element.

yes, but in this case how to put phone number or other text ? I do not want to have flags in menu but want to remain some text in Top Bar

You can add multiple widgets to the Top Bar. One for your phone number text using a HTML or Text Widget, and another for the Language switcher. If need be i can provide some CSS to arrange them.

Thank a lot ! It is ok. I have last question. Do you know how to make a gap between flags. Right now they are look like overlapping

Pavel

and how to put icon like phone or other ?

You can add some space between the flags using this CSS:

.widget_polylang ul li {
    margin-left: 5px;
}

For the phone, you're using a GB Headline Block so you should be able to add the Icon to the block. But you will probably need to edit the in Dashboard > Appearance > Widgets to see the full controls.

This archived topic is closed to new replies.