Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Support request] How to Add Bottom Border to Header on All Pages Except Homepage?

Home Forums Support [Support request] How to Add Bottom Border to Header on All Pages Except Homepage?

Home Forums Support How to Add Bottom Border to Header on All Pages Except Homepage?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #589142
    Thomas

    Im trying to add this css below the header. Basically a colored border below the header from the body content.

    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: #fbce2c;

    I can add it to the site-header class however my homepage is a merged header custom page so it ruins the design.

    Whats the best way to implement this?

    GP Premium 1.6.2
    #589158
    Sridhar

    Add this CSS:

    body:not(.home) .site-header {
    	border-bottom: 5px solid #fbce2c;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.