Search the Community
Showing results for tags 'CSS code flags under menu'.
-
Dear all, I am Milada, a fresh newbie to WP. I am asking you for a help: set up a css code to customize my Genesis Child theme (Wellness Pro). Here is my blog address: http://moreyouthfulskin.com/en/home/ As you can see there is a menu, and besides on the right the languages. I would like to put the languages under the menu. I was told to create a new widget, which I did from these instructions: https://carriedils.com/add-widget-area-below-nav/ Then I added the Language switcher to that widget and it looks like you see: there are new flags ordered vertically and the horizontal ones persist. I would like the horizontal ones to persists, but need them horizontally under the menu. Here is a code used so far in my functions.php file: the code for a new widget: /** Register widget areas */ genesis_register_sidebar( array( 'id' => 'cta-1', 'name' => __( 'Call to Action #1', 'mp' ), 'description' => __( 'This is the call to action section.', 'mp' ), ) ); and the one that added the flags vertically: add_action( 'genesis_after_header', 'mp_cta_genesis' ); genesis_register_sidebar( array( 'id' => 'cta-1', 'name' => __( 'Call to Action #1', 'wellness' ), 'description' => __( 'This is the call to action section.', 'wellness' ), ) ); add_action( 'genesis_after_header', 'add_genesis_widget_area' ); function add_genesis_widget_area() { genesis_widget_area( 'cta-1', array( 'before' => '<div class="cta-1 widget-area">', 'after' => '</div>', ) ); } Can you please help me out of this problem, it persists for two weeks now already. Thank you very much! Milada