This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

North theme question

Resolved 2 replies customizationthemetheme-north
8 years ago · Last reply by thabasti 8 years ago

Hey,

is it possible to have a transparent masthead, BUT a different color for the sticky/floating masthead? I think it will look nice, If the masthead is transparent on the hero image and if you scroll the page down then the sticky nav becomes coloured. I have tried some CSS, but can’t figure out a solution as there is only one masthead# class but also a floating instance?

So what I need is the css selector for 1. the static masthead and 2. for the sticky floating one :)

thx

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Alex S Staff 8 years, 11 months ago

    Hi Thabasti,

    Yes, this is possible with CSS. The Consultant Site Pack is an example of this.

    Please add (and adjust) the following CSS to WP AdminAppearanceCustom CSS:

    .page-layout-menu-overlap #masthead {
    	background: transparent;
    	border-bottom: transparent;
    }
    #masthead.sticky-menu {
    	transition: background .4s ease-in-out !important;
    }
    #masthead.sticky-menu.floating {
    	background: #111 !important;
    }

    Please note that you must set the menu to overlap (this is done via page settings) for that page for this CSS to work as desired.

    You might also need to install the SiteOrigin CSS Editor.

  2. thabasti 8 years, 11 months ago

    Hi Alex S,

    thank you so much, you’re the best! That is exactly what I wanted it to be.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread