Portfolio page filer behind the menu

I am in the process of setting up a portfolio page with the Renew stack.

When i preview the page the filter and header are behind the menu.

Hi There,

This issue occurs because of this custom CSS:

.masthead {
    position: absolute;
    width: 100%;
}

The custom CSS above will make the header sit above the home slider but it will affect all other pages.

So please change your custom CSS to this:

.home .masthead {
    position: absolute;
    width: 100%;
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

Thanks Thai,

Unfortunately this hasn’t fixed the problem.

I only have this problem on the portfolio/case study pages

Hi There,

In this case, please add this custom CSS under Theme Options > CSS:

.page-id-1078 .masthead.masthead-inline {
    position: static;
}

The custom CSS above will make the header of case studies page static so the filter and header are
NOT behind the menu.

Let us know how it goes!

Does this mean we’ll have to do this for each individual (page-id) case study page?

Hi @CQ2,

The CSS should be applied and specific to your case study page. But, if you’re planning on applying it to all portfolio pages then you should change it to this

body.page-template-template-layout-portfolio .masthead.masthead-inline {
    position: static;
}

Then you don’t need to add it over and over, just once. Cheers!

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.