This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

kbarndt

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • kbarndt
    Participant

    Doh! Yes, the answer was right there.

    Thank you again for your superlative support.

    kbarndt
    Participant

    Thanks again! Exactly what I needed.

    One question, tho. Why would the widget content show up in the header wrapped in a

    <li>

    tag instead of a

    <div>

    ?

    The widget content is placed inside a “Text” widget.

    Here is the code I added to my child functions.php:

    $args = array(
    	'name'	=> 'Selerix Header',
    	'id'	=> 'selerix-header'
    );
    register_sidebar( $args );
    
    
    /**
     * My header content
     */
    function my_header_content() {
    	dynamic_sidebar('selerix-header');
    }
    remove_all_actions( 'themeblvd_header_addon' );
    add_action( 'themeblvd_header_addon', 'my_header_content' );

    And here is the relevant HTML source from the resulting page:

    <div id="top">
    			<header id="branding" role="banner">
    				<div class="content">
    					<div class="header-above"></div><!-- .header-above (end) -->	<div id="header_content">
    		<div class="header_content-inner">
    			<div class="header_content-content clearfix">
    					<div class="header_logo header_logo_image">
    		<a href="http://marketingtestsite.com/wp" title="marketingtestsite.com" class="tb-image-logo"><img src="http://marketingtestsite.com/wp/wp-content/uploads/2012/04/Selerix-logo_tagline-e1309189730227.png" alt="marketingtestsite.com" width="218" /></a>	</div><!-- .tbc_header_logo (end) -->
    	<li id="text-5" class="widget widget_text">			<div class="textwidget"><strong><a href="http://www.selerix.com/wp/contact/">CONTACT US</a></strong><br><img src="http://www.selerix.com/wp/wp-content/uploads/2011/07/phone.png" /> (469) 452-7076<br>
    <img src="http://www.selerix.com/wp/wp-content/uploads/2011/07/email.png" /><a href="mailto:sales@selerix.com" title="Email Us"> sales@selerix.com</a></div>
    		</li>
    <li id="text-6" class="widget widget_text">			<div class="textwidget"><a href="http://www.benselect.com/">www.BenSelect.com</a><br>
    <a href="http://www.benefitagent.com/">www.BenefitAgent.com</a></div>
    		</li>
    			</div><!-- .header_content-content (end) -->
    		</div><!-- .header_content-inner (end) -->
    	</div><!-- #header_content (end) -->
    					</div><!-- .content (end) -->
    			</header><!-- #branding (end) -->
    		</div><!-- #top (end) -->
    
    		<!-- HEADER (end) -->
    kbarndt
    Participant

    Thanks for the fast reply. If you could point me to some resources to help me make the customization myself, that would be great.

    Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)