Pete2leftfeet
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Themes and Templates
In reply to: [Customizr] How to put transposh flag on the header….it is in the perfect position, but now the “Flags” or “flags with CSS” doesn’t translate
I’m using WP4.0
Forum: Themes and Templates
In reply to: [Customizr] How to put transposh flag on the header……and this in the css file
.widget.widget_transposh { position: relative; } .transposh_flags { position: absolute; right: 20px; top: 20px; }Forum: Themes and Templates
In reply to: [Customizr] How to put transposh flag on the headerHi, I’ve been experimenting with this as well, and have manged to get the positioning working using the second option in the functions.php
// Adds a widget area to house qtranslate flags. See also accompanying css. if (function_exists('register_sidebar')) { register_sidebar(array( 'name' => 'Extra Widget After Navbar', 'id' => 'extra-widget', 'description' => 'Extra widget after the navbar', 'before_widget' => '<div class="widget %2$s" id="%1$s">', 'after_widget' => '</div>', 'before_title' => '<h2>', 'after_title' => '</h2>' )); } // Place the widget area after the navbar add_filter ('__after_navbar', 'add_my_widget'); function add_my_widget() { if (function_exists('dynamic_sidebar')) { dynamic_sidebar('Extra Widget After Navbar'); } }
Viewing 3 replies - 1 through 3 (of 3 total)