Placing Widgets Above Menu
-
I want to put the “Recent Updates” section (which is the Recent Posts widget) above the Menu location, but can’t figure out how to do so. Can I get some help please?
Viewing 6 replies - 1 through 6 (of 6 total)
-
Hi Roger,
You need to edit the header.php file in order to get the widget show above the menu.
Thanks.
Could you elaborate? I’m looking at the header file and I’m not fluent enough in .php to figure this out on my own.
<?php /** * Header Template * * @file header.php * @package Luminescence-Lite * @author Styled Themes * @copyright 2013 Styledthemes.com * @license license.txt * @version Release: 1.2.0 */ ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <title><?php wp_title( '|', true, 'right' ); ?></title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="wrapper" class="clearfix" style="background-color: <?php echo get_theme_mod( 'content_bg', '#ffffff' ); ?>; color: <?php echo get_theme_mod( 'page_text', '#787c7f' ); ?>;"> <div class="container-fluid"> <div class="row-fluid lum-equal-wrap">Could you elaborate?
Hmm, I guess not.
Oh well.
One last try.
Hi Roger,
Use the following code and replace the sidebar-blog-left.php, it will work
<aside id="left-column" class="span4 equal" style="background-color: <?php echo get_theme_mod( 'sidebar_bg', '#1c2123' ); ?>; color: <?php echo get_theme_mod( 'sidebar_text', '#dbdbdb' ); ?>;"> <div id="equal-well" style="background-color: <?php echo get_theme_mod( 'sidebar_inner', '#23292a' ); ?>;"> <?php get_template_part( 'partials/main-logo' ); ?> <?php if (!dynamic_sidebar('blogsidebar')) : ?> <div class="widget-wrapper"> <h3 class="sidebar-heading">Blog Left Column</h3> <p>This is default content to showcase a blog with a left sidebar column. Once you publish your first widget to this position, this sample content will be replaced by your widget. </p> </div> <?php endif; ?> <?php get_template_part( 'partials/vertical-menu' ); ?> </div> </aside>Thanks
Thank you very much!
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Placing Widgets Above Menu’ is closed to new replies.
