Tagged: top bar, widget area
-
AuthorPosts
-
September 28, 2016 at 12:14 pm #692566
Hi,
I am using the Polylang plugin and would like to add flags next to the social icons I have in the top left bar. Is it possible to ad a widget to do this?
http://reservoir.no/no/startsiden/
Thanks Elise:)
September 28, 2016 at 1:33 pm #692605Hey Elise!
If you want to add flag icons and then link your site URL to it please create a header widget refer to this link
Best regards,
BasilisSeptember 28, 2016 at 2:10 pm #692656Hi – I already tried this but it ends up in the header area not in the meta area next to the social icons where I want the flag, please view here: http://reservoir.no/no/startsiden/
Using the following css:
#header .widget {
left: 10%;
padding-top: 6px;
position: absolute;
top: 0;
transform: translate(-50%);
z-index: 999;}
What am I doing wrong?
September 28, 2016 at 2:16 pm #692659Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitSeptember 28, 2016 at 2:19 pm #692668I also tried to add the code:
- <?php pll_the_languages(‘show_flags’);?>
Into the HEADER > EXTRA ELEMENTS > HEADER SECONDARY MENU > “Phone Number or small info text- AREA”
Documentation:
The language switcherSe login info below:)
Thanks
September 28, 2016 at 2:22 pm #692674Hi!
Login credentials are not working for me. Can you please check them once again?
Regards,
YigitSeptember 28, 2016 at 2:26 pm #692677Sorry it was .no not .com:)
September 28, 2016 at 2:33 pm #692680Hey!
I added following code to Quick CSS
#header_meta .container > li.lang-item { display: none; }
following code to functions.php file in Appearance > Editor
function avia_polylang_flags(){ $output = pll_the_languages('show_names'); return $output; } add_shortcode( 'av_flags', 'avia_polylang_flags' );
and following shortcode into phone info field in Enfold theme options > Header > Extra Elements
[av_flags]
Please review your website now
Best regards,
YigitSeptember 28, 2016 at 3:43 pm #692754Great fantastic – so how do I see a flag instead of language name on site (hiding the current languag flag)?
Best Elise
- This reply was modified 8 years, 1 month ago by fetetyper.
September 28, 2016 at 3:48 pm #692761Hi Elise!
Can you please contact plugin authors regarding that?
Code is added using followingpll_the_languages('show_flags');
So it should display the flags in fact.
Regards,
YigitSeptember 28, 2016 at 3:50 pm #692763Sorry – absolutely:)
Thank you so much – works like a charm!
Great support:)
Elise
September 28, 2016 at 3:53 pm #692767Hi!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Cheers!
Yigit -
AuthorPosts
- The topic ‘Adding a widget to the top bar’ is closed to new replies.