• i am trying to make the page black…i have tweaked other things in the theme .. but surrounding the Header there is a white border, no images or separators seem to be controlling this ..its seems like its the clearfix ???this is the site to see what i mean http://www.roberthenriksen.com/doors/ just want to make that border black

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title('|', true, 'left'); ?></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="container">
    <?php do_action( 'before' ); ?>
    	<header id="branding" role="banner">
          <div id="inner-header" class="clearfix">
    		<hgroup id="site-heading">
    			<h1 id="site-title"><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    			<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
    		</hgroup>
    
    		<nav id="access" role="navigation">
    			<h1 class="assistive-text section-heading"><?php _e( 'Main menu', 'box-of-boom' ); ?></h1>
    			<div class="skip-link screen-reader-text"><a href="#content">"><?php _e( 'Skip to content', 'box-of-boom' ); ?></a></div>
    
    			<?php boxofboom_main_nav(); // Adjust using Menus in WordPress Admin ?>
                <?php get_search_form(); ?>
    		</nav><!-- #access -->
    
          </div>
    
            <?php
    		$header_image = get_header_image();
    		if ( ! empty( $header_image ) ) :
    			$header_image_width  = get_custom_header()->width;
    			$header_image_height = get_custom_header()->height;
    		?>
    		<div id="headerimg"><img src="<?php header_image(); ?>" width="<?php echo $header_image_width; ?>" height="<?php echo $header_image_height; ?>" alt="" /></div>
    		<?php endif; ?>
    
    	</header><!-- #branding

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s this:

    #headerimg {
        border: 10px solid #fff;
        box-shadow: 0 0 5px #d8d8d8;
        margin-bottom: 20px;
    }

    BTW, hope you are not modifying theme files – as your changes will be lost when the theme is updated. Instead, better to use a child theme or custom CSS.

    Thread Starter robbyrockman

    (@robbyrockman)

    where is this? you posted .. i dont see it in this file ? i see it in the CSS file . .. so do i just change the fff to ooo ? for black
    and no i am not changing anything yet.. till i get a pro like you to make sure its right… and i will save a back up before i makae any changes ..thanks for fast response

    You should be using a child theme or custom CSS plugins – then ADD the code I posted above to the new style.css file or custom CSS section and change the color there to black.

    It will be very unfortunate to lose all your changes when the theme is updated – saving a backup won’t prevent that and it’s a pain to redo or replace new files with backup copies…much easier to just use a child theme or custom CSS from the start :)!

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

The topic ‘making white border black by Changing Clearfix ???’ is closed to new replies.