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.

Add an ’empty’ transparent bar above menu

Resolved 5 replies technicalthemetheme-vantage
10 years ago · Last reply by Greg Priday 10 years ago

Hi,

Take a look at http://www.leicscollaborativefamilylaw.com/

I have managed to add an empty bar with the background colour below the navigation bar (I achieved this by modifying the header in a child theme)

However I would also like to add the same bar above the navigation. I tried this modifying the masthead.php however it didn’t work.

I would appreciate any assistance with this. If both can be achieved using CSS (rather than modifying the theme files) then that would be preferable.

An example of the desired end result can be found here http://www.resolution.org.uk/Leicestershire/

Many thanks

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

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Greg Priday Staff 10 years, 2 months ago

    Hi Rhys,

    I’ve had a chat with our customization team and we’re not quite following yet. If the new bar above the menu is transparent and empty, what would you be adding it for? Do you want to add spacing above the existing menu?

  2. Rhys 10 years, 2 months ago

    Apologies, I realised I didn’t explain myself very well. I’m trying to achieve the look in the image below. Effectively a transparent separator between the header and the navigation. Does this help clarify?

    lcflg

    thank you

  3. Greg Priday Staff 10 years, 2 months ago

    Hi Rhys

    Can you give the following CSS a try. It should do the trick.

    #masthead {
        background: transparent;
        padding: 0;
    }
    #masthead .hgroup {
        background: #fcfcfc;
        margin-bottom: 19px;
        padding-right: 35px;
        padding-left: 35px;
    }
    .main-navigation {
        margin: 0;
    }
  4. Rhys 10 years, 2 months ago

    Excellent! Works great. Thank you very much Greg :-)

  5. Greg Priday Staff 10 years, 2 months ago

    Fantastic! It’s an absolute pleasure.

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