Home>Support>Need header support text and header widget to both appear in the header

Need header support text and header widget to both appear in the header

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi there,
I’m almost done with the site I’m developing with this theme. Everything is working but I am pulling my hair out on one issue. I need the support text to appear next to the logo AND a widget area. I found this thread from about a week ago that states when a widget area is added, the support text goes away.

Header widget – want both text and widget to show on top of each other instead of next to each other…

I don’t see why this is set up this way, as it seems that the CSS could easily be manipulated to encompass both. Is there a function that takes away the support text when the widget appears? I’m using a child theme and would like to modify that, but I can’t find where it is. This is extremely frustrating and I’ve wasted hours trying to find where to modify this issue. Help is appreciated! Using Vantage premium child theme.
Thanks

URL: http://www.freeflightsinsacramento.com/testsite/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 11 years, 11 days ago tkanotz

    I figured it out. I had to go into masthead.php and position the support text above the sidebar tags. Works beautifully here:
    http://www.freeflightsinsacramento.com/testsite/

    Now to get the sidebar elements to stack…should I start a new thread?

  2. 11 years, 10 days ago matabra1111

    Can you please explain exactly what you did to make support text and widget appear at the same time..?

    Thanks

    M

  3. 11 years, 9 days ago Andrew Misplon
    Hi, I Work Here

    Hi tkanotz

    The Vantage Header Text is editable from Appearance > Theme Settings > Logo. As you’ve seen it only displays if no widgets are added to the widget header area via Appearance > Widgets. This is unfortunately the default nature of Vantage. You could introduce a Text widget or a Visual Editor widget (http://wordpress.org/plugins/black-studio-tinymce-widget/) into the header widget area to mimic this functionality with other widgets added.

    If you’ve edited theme files to use the two together please remember to use a child theme to avoid having those changes overwritten during theme update.

    Please open a new thread for your sidebar question, thanks.

    matabra1111, hopefully that answers your question. Ideally use a Text or Visual Editor widget (https://wordpress.org/plugins/black-studio-tinymce-widget/) along with whatever other widgets you require.

  4. 11 years, 6 days ago tkanotz

    matabra1111,
    Here is how I made that work…all changes are done to a vantage premium child theme:

    First I created a new masthead.php in my child theme, and added a div tag for “support-text” and moved it above the “header-sidebar” div, as follows:

    <hgroup class="full-container">
    	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home" class="logo"><?php vantage_display_logo(); ?></a>
    
    	<div class="support-text">
    		<?php do_action('vantage_support_text'); ?>
    	</div>
    
    	<?php if( is_active_sidebar('sidebar-header') ) : ?>
    
    	<div id="header-sidebar">
    

    Here’s the CSS for “support-text”

    header#masthead hgroup .support-text {
        color: #5a2033;
        font-family: 'Lobster';
        font-style: normal;
        font-size: 48px;
        line-height: 1.1em;
        margin-top: 0em;
        max-width: 70%;
        position: relative;
        left: 5px;
        top: 60px;
    }
    

    And here’s how it looks on my site:
    http://www.freeflightsinsacramento.com/testsite

    If the tagline is smaller, it stays aligned left next to the logo. Let me know if it works for you!

  5. 11 years, 5 days ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear you made positive progress here. Thanks for sharing your solution with the community.

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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More