• Hi, I’m trying to add text above and below my search box. I’m using a child theme, and I’ve added this to the child header.php;

    <!--MOVING SEARCH BOX UP THE PAGE TO ADD WRITING AROUND IT-->
    <?php
    				// Has the text been hidden?
    				if ( 'blank' == get_header_textcolor() ) :
    			?>
    				<div class="only-search<?php if ( $header_image ) : ?> with-image<?php endif; ?>">
    
     <?php get_search_form(); ?>
    				</div>
    
    			<?php
    				else :
    
    			?>
    
       <?php get_search_form();  ?>
    <p class="telephone">0871215551</p>
    			<?php endif; ?>
    <!--FINISHED MOVE OF SEARCH-->

    This adds the text fine, but it is all over the place. I’ve moved that section of code about header.php which moves the phone number above and below the logo … but no where near the text box. Any suggestions please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You may also need to add CSS code to set the layout and/or appearance of the text. If you post a link to a page where this code is live, someone can likely help you with the specifics. Or try using Firebug to look at what’s going on with the CSS code in that section of the page.

    Thread Starter Webnoob

    (@webnoob)

    Firebug isn’t really helping. The website is dundalkherbal.com
    if this helps?

    [ Please do not bump, that’s not permitted here. ]

    Thread Starter Webnoob

    (@webnoob)

    Is it possible to get this topic deleted please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Twenty Eleven – adding text beside search box’ is closed to new replies.