Okay
  Public Ticket #3785809
Transparent Header Not Displaying Over Full-Screen Background Image
Open

Comments

  •  1
    Yannick Stragliati started the conversation

    Hello,

    I am currently facing an issue with my website where the Salient transparent header does not display correctly over a full-screen background image. I have followed the documentation and tried multiple solutions, but the problem persists.

    The Problem:
    • I am using a full-width background image in a row at the top of my page.
    • The header, even though set to be transparent, appears with a solid white background and does not overlay the background image as intended.
    • On mobile, the issue persists, and the menu cannot be seen against the white background.
    What I Have Tried So Far:
    1. Enabled Transparent Header:
      • In Salient Options → Header Navigation → Transparent Header Effect → "Use Transparent Header When Applicable" is enabled.
      • The "Header Starting Text Color" and "Dark Text Color" options have been set to ensure visibility.
    2. Color Scheme Adjustments:
      • Under Salient Options → Header Navigation → Color Scheme, I ensured there is no background color applied to the "Header Background" in the "Main Navigation" section.
    3. Page Row Settings:
      • I set up a row with a full-width background image:
        • Type: Full Width Background
        • Background Image: Uploaded with Center Center positioning, set to "No Repeat"
        • Background Size: "Cover" was applied.
      • However, the transparent header still displays white, not overlaying the image.
    4. CSS Attempts: I tried custom CSS to force transparency and overlay behavior:
      css
      Copier le code
      #header-outer {      background: transparent !important;  }  
      #header-space {      display: none;  }  
      
      • While this removes the background color, it does not fully solve the issue, and sometimes a "gray area" still appears below the header.
    5. Browser Inspect Tool: I used the Chrome Developer Tools to check for conflicting CSS. However, even after manually forcing background: transparent on #header-outer and related elements, the issue persists.
    6. Checked for Plugin Conflicts:
      • I disabled all plugins to ensure no third-party plugin interferes.
    What I Need Help With:

    I would like the header to be fully transparent and to overlay the full-screen background image as seen on websites like https://bravoluxuryretreats.com/

    Could you please guide me on the correct steps or settings to achieve this? Let me know if any theme settings, row configurations, or additional CSS are required.

    Thank you for your support, and I look forward to your response.

    Best regards,

    Yannick Stragliati

  •  3,030
    Andrew replied

    Hi Yannick,

    Thank you for getting in touch. 

    Please share your site URL so we can check this out for you.

    We look forward to your reply.

    Thanks,

  •  1
    Yannick Stragliati replied

    Hi, thx for answering, the problem IS my site is coming soon mode, im just starting building it, with gpt, i can't do anything on my own

  •  3,030
    Andrew replied

    Hi Yannick,

    Thank you for getting back to us.

    To clarify, the transparent header only works when certain conditions are met. These are instances where this will get used include using a Page Header or using a Full width/screen Nectar Slider at the top of a page.

    Instead of using a full-screen background image, I recommend adding the image as a page header in the page header metabox settings. Here's our guide that can help you with this https://themenectar.com/docs/salient/page-metaboxes/#pageheader. You can access the metaboxes by editing the specific page on the backend editor, and then scrolling down to the metaboxes. Here's a screenshot of the same.5619873348.png

    Alternatively, you can also force the transparent header in the same page header metabox settings.1383147053.png

    I hope this info helps, try that and let us know how it goes.

    Regards,

  •  1
    Friso replied

    Hi, I face the similar issue. I have a background image in the first full width row of my pages, the header gets a white background when scrolling down. I update Salient, and now on all of my pages instead of the homepage the transparency of the header is gone (?). Also if I copy the homepage or make a new page the header is not transparent and can also not be forced to be, either in the new header transparency option in the Salient menu or with the 'force transparency option' on the bottom of the page? I regret the upgrade to the latest version.. :(
    Does anyone have an idea of how to fix this?
     My site: https://www.waldhauswulmeringhausen.de/

  •  3,030
    Andrew replied

    Hi Friso,

    Thank you for reaching out to us.

    Please check and ensure that you have enabled the permanent transparent header option in the Salient > Header Navigation > Transparent Header.9069331927.png

    Try this and let us know how it goes.

    Cheers,

  •  1
    Friso replied

    Hi Andrew,

    Thanks for your reply.  Enabling the permanent transparent header option in the Salient > Header Navigation > Transparent Header unfortunately has no effect; the header becomes transparent on my homepage also when scrolling down, but remains white on the other (copied) pages....
    Please check https://www.waldhauswulmeringhausen.de/ en go to: NL and back to DE

  •  1
    Friso replied

    Ps. this is a cloned/copy of the page that does work. In the copy the header also isn't transparent, despite the fact that I checked force header transparency 

    https://www.waldhauswulmeringhausen.de/copy

    Attached files:  Scherm­afbeelding 2025-01-22 om 16.26.12.png

  •  1
    Friso replied

    I found out more.. It turns out that the transparency of the header is only there on my homepage. That is to say, if I change my homepage settings (appearance -> customize ) the new homepage get the transparent header and the header of the previous home get it's white background. This issue came up only after updating Salient to its newest version.

    Any ideas what might be the issue here?

  •  9,006
    Tahir replied

    Hey Again,

    You’ll need to use a filter in your child theme to remove default functionality that prevents the transparent header effect when Yoast breadcrumbs are enabled: https://pastebin.com/bGSxyuNE or alternatively, you can disable the Yoast SEO breadcrumbs as shown in this guide https://yoast.com/help/how-to-implement-yoast-seo-breadcrumbs/#:~:text=To%20disable%20the%20Yoast%20SEO,be%20used%20to%20display%20them.

    Best,

     

     


    ThemeNectar Support Team 

  •  1
    Friso replied

    That solved the issue! Thanks so much!