text in masthead navbar
How can I add text inside the masthead, below the menu, to the right of the logo, only on the homepage.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.
How can I add text inside the masthead, below the menu, to the right of the logo, only on the homepage.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Have a different question or issue?
Start New Thread
Replies
8Hi Larry
We’d need to work up a child theme solution. I’m not following the location though. Can you send a link to your site, please.
Thanks :)
It’s kind of work in progress but does this screen shot help? https://dl.dropboxusercontent.com/u/4075949/CaptureNAV.PNG
Same here – https://dl.dropboxusercontent.com/u/4075949/CaptureNAV.PNG
Thanks.
You can try this child theme to start with:
https://siteorigin.com/wp-content/uploads/2015/11/vantage-child-text-under-menu.zip
Download the ZIP
Install via Appearance > Themes > Add New: Upload Theme.
Add text via Appearance > Widgets > Menu widget area.
When activating a child theme it’s normal for the menu location and Customizer settings to reset. If you’d like to make use of the child theme you’ll need to redo those settings.
When the child theme is activated you can go to Appearance > Editor > style.css. There is one rule there. You can adjust things like font size and left margin to move the text etc.
Hope that helps :)
I’m already using a child theme.
If you feel comfortable doing so you can work my changes into your child theme.
1. Insert the following in your functions.php file:
/** * Register widget area. * * @link http://codex.wordpress.org/Function_Reference/register_sidebar */ function vantage_child_widgets_init() { register_sidebar( array( 'name' => __( 'Menu', 'vantage' ), 'id' => 'sidebar-menu', 'description' => '', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '', ) ); } add_action( 'widgets_init', 'vantage_child_widgets_init' );2. Assuming you don’t already have a “parts” folder in your child theme, copy the entire “parts” folder from my child theme into yours.
3. Insert the following at Appearance > Custom CSS:
/* Menu */ .site-navigation .widget-area { color: #fff; font-size: 14px; text-align: left; margin-top: 10px; margin-bottom: 10px; margin-left: 200px; }I already have a parts folder in my child theme. Can you please tell me what you have modified?
Hi :)
Download the child ZIP to your desktop, open it and check the parts folder, there is a menu.php file in it. If you don’t have a menu.php file in your child theme parts folder then, copy mine. If you do have a menu.php there already then add the widget area in below the menu. The menu is loaded as follows:
Below that I’m adding our new widget area:
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.