kaplansky1
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] changing the direction of flagsThank you again for you plugin.
Cheers,
AlexForum: Plugins
In reply to: [Multisite Language Switcher] changing the direction of flagssorry for this, i was stupid )
off course i had to show code.
header.php:<?php
wp_nav_menu( array( ‘theme_location’ => ‘social’, ‘container’ => ‘div’, ‘container_id’ => ‘menu-social’, ‘container_class’ => ‘menu’, ‘menu_id’ => ‘menu-social-items’, ‘menu_class’ => ‘menu-items’, ‘depth’ => 1, ‘link_before’ => ‘<span class=”sr-only”>’, ‘link_after’ => ‘</span>’, ‘fallback_cb’ => ” ) ); ?>styles.css now looks like this:
#menu-social ul li a:before {
content: ”;
display: inline-block;
padding: 0 0 0 10px;
font-family: FontAwesome;
font-size: 18px;
}
#menu-social ul li a[href*=”wp-login”]:before {
content: ‘\f007’;
}
#menu-social ul li a[href*=”wp-login”]:hover {
color: #3b5998;
}#menu-social ul li a[href*=”facebook.com”]:before {
content: ‘\f09a’;
}
#menu-social ul li a[href*=”facebook.com”]:hover {
color: #3b5998;
}
#menu-social ul li a[href*=”twitter.com”]:before {
content: ‘\f099’;
}
#menu-social ul li a[href*=”twitter.com”]:hover {
color: #33ccff;
}Like i said before, i delete “content” in common menu-social and add menu-social for wp-login.
Forum: Plugins
In reply to: [Multisite Language Switcher] changing the direction of flagsOk, i did it, but not the right way. i found some css rules in style.css and remove man icon for all menus and add it only to menu which contain phrase ‘wp-login’. I understand that is not beautiful and right, but i dont know how to change in another way (i think that need to give icon to the right variable, but i dont understand how).
Again sorry for disturbing.
If you will have some good idea about it, pls say it to me.
Thanks for your nice plugin,
Cheers,
AlexForum: Plugins
In reply to: [Multisite Language Switcher] changing the direction of flagsHi Dennis.
Im sorry for disturbing you again.
This code that u give me (link) is really helpful.
And all looking pretty simple, but im newbie and cant understand one thing.
I finally hosted a site and can show my problem. May be you can tell something really not complicated to solve it?
My site: http://bloobfish.comAs you can see, except the flags also added man icon (by default). I tried to find where it is formed in the files of the theme menu, but it is not there. As I understand it, it produces this menu corresponds to the function wp_nav_menu(), but where exactly(in what files of WordPress)? or what argument is responsible for the icon? or how change(remove it)?
Again sorry for disturbing and for my bad english.
Big thanks for your help.Cheers,
AlexForum: Plugins
In reply to: [Multisite Language Switcher] changing the direction of flagsThanks a lot, Dennis. I will try!
Cheers,
AlexForum: Plugins
In reply to: [Multisite Language Switcher] I dont have any flag on sitesAs I understand it, after all this necessary to add flags with widgets.
sorry for my english.
and a big thanks to author of this plugin!Forum: Plugins
In reply to: [Multisite Language Switcher] I dont have any flag on sitesI have the same situation.