White space & lightbox behind menu

Hi X Theme,

I have 2 minor problems on my new website and i can’t figure out why so maybe you can help me.

  1. I added a custom page type “Projecten”. But on the pages there is a white space above the page. The logo in the menu looks like it’s on the good height so maybe the content need to be pushed up?
    The url is: https://studiomashup.nl/website/projecten/wijnlabel-hopma-makelaardij/

  2. On the same page i’ve added lightbox to the images but the menu displays above the lightbox image. Is it possible to move the menu back and the lightbox above them menu?

Thx in advance!

Hi There,

Please try adding this custom CSS under Theme Options > CSS:

.projecten-template .entry-content.content {
    margin-top: 0;
}

.ilightbox-overlay.light,
.ilightbox-holder  {
    z-index: 999999;
}

For more information about the z-index attribute, please take a look at this:

https://www.w3schools.com/cssref/pr_pos_z-index.asp

Hope it helps :slight_smile:

Thx so much worked great.

An other question not directly X Theme related I think but maybe you know.

On the page:
https://studiomashup.nl/website/projecten/wijnlabel-hopma-makelaardij/

the breadcrumbs only show home - wijnlabel hopma makelaardij. instead of home - projecten - wijnlabel hopma makelaardij.

Do you know how i can resolve this?

Hi @Timmid,

The breadcrumbs will only work on built-in post types (eg. post, page, portfolio, archives and so on.). It has no capability to predict the custom post type that is going to be added, it’s just a simple bread crumb to prevent bloat scripts.

But, you could try using other 3rd party breadcrumb that may help you achieve it with your custom post type. Example, Yoast breadcrumb https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/

And since it’s added through the builder, then you can simply implement their breadcrumb shortcode through text element, like [wpseo_breadcrumb].

Thanks!

Thx for the reply!

Think I found a solution with the code on this page:

Glad you’ve sorted it out :slight_smile:

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