Top of Header Section | WordPress.org

[ad_1]

In a previous topic I asked about adding a thin section above the main header and was given the following code: `

@media only screen and (min-width: 1025px) {
  .transparent-header .main-header:not(.sticky-active):not(.is-sticky), .transparent-header .bottom-header-row:not(.sticky-active):not(.is-sticky) {
    background-color: transparent;
    margin-top: 75px;
  }  
}

@media only screen and (min-width: 1029px) {
  .transparent-header .main-header:not(.sticky-active):not(.is-sticky), .transparent-header .bottom-header-row:not(.sticky-active):not(.is-sticky) {
    margin-top: 55px;
  }  
}

This worked well, but it only shows up above the header on the home page. Is there somewhere else I can paste the code to show up on all pages?

Thanks for your time!
Tim

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer