• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Adding strip of color to bottom of header

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Adding strip of color to bottom of header

This topic is: not resolved

Tagged: css, custom, header

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 4 months ago by jmamuzich.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 25, 2014 at 12:45 pm #132778
    jmamuzich
    Member

    Hello,

    I want to add a 6px or so strip of color to the bottom of my header above the bottom blue border that is currently there. Does anyone know how I can target this in the css?

    thanks so much in advance.

    Jaclyn

    http://162.144.99.26/~sacrealt/
    November 25, 2014 at 1:42 pm #132789
    cwalsh
    Member

    You could try making an image of the stripe you want to use and set it as the background image of .site-header. In this example, the images is uploaded into the images folder of the theme.

    .site-header {
    background: #fff url(images/green-stripe.png) repeat-x bottom center;
    min-height: 160px;
    background-color: #fff;
    border-bottom: 12px solid #1e318b;
    margin-top: 3.75em;
    -webkit-box-shadow: 0 15px 5px -15px #1e318b;
    -moz-box-shadow: 0 15px 5px -15px #1e318b;
    box-shadow: 0 15px 5px -15px #1e318b;
    }

    Need website customization services or other help? Caley @ PixelPerfect Design Studio | Connect with me on Twitter: @pixelsperfect | Like me on Facebook: https://www.facebook.com/PixelPerfectDesignStudio

    November 25, 2014 at 2:37 pm #132797
    jmamuzich
    Member

    Thank you for the suggestion! I am trying to do it with pure css but I might do this if I can't figure it out. Thanks again!

    - Jaclyn

    November 25, 2014 at 4:18 pm #132810
    cwalsh
    Member

    I found this article, perhaps this will work http://css-tricks.com/snippets/css/multiple-borders/


    Need website customization services or other help? Caley @ PixelPerfect Design Studio | Connect with me on Twitter: @pixelsperfect | Like me on Facebook: https://www.facebook.com/PixelPerfectDesignStudio

    November 25, 2014 at 5:31 pm #132822
    jmamuzich
    Member

    It did, thanks 🙂 The only problem is I think something is wrong in my css:

    .site-header {
    	background-color: #fff; 
    	border-bottom: 12px solid #1e318b;
    	position: relative;
    	display: inline-block;
    	margin-top: 3.75em;
    	-webkit-box-shadow: 0 15px 5px -15px #1e318b;
    	   -moz-box-shadow: 0 15px 5px -15px #1e318b;
    	        box-shadow: 0 15px 5px -15px #1e318b;
    }
    
    .site-header:before {
    	content: '';
    	position: absolute;
    	left: 0;
    	bottom: 6px;
    	width: 100%;
    	height: 5px;
    	background: #63b120;
    }
    

    because now it's displaying to the left and not all the way across the page like it did before. Not sure what exactly is wrong. I tried playing around with the code

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble