Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1111516

    We have an enfold website, and have setup transparent headers on all pages as we need to invert colours in the header when people scroll including the logo, and a background image. We have installed a plugin which has a PHP page that be default inherits the default header style which is not transparent.

    How can we make the PHP page have the same transparent header. I’m happy to pay extra for support if that is required.

    What could I add to make this page use translarent header like all the other pages on the site?

    I have managed to make the page show the transparent header by adding the following:
    <header id=”header” class=”av_header_transparency av_header_glassyd” role=”banner” itemscope=”itemscope” itemtype=”https://schema.org/WPHeader”></header&gt;

    But I can’t make the transparent logo appear… but the normal image appears ok when you scroll down.

    • This topic was modified 5 years, 6 months ago by itroom.
    #1112223

    Hey Kelly,

    Thank you for using Enfold.

    What do you mean by “PHP” page? Is it not the same as those generated by WordPress? Try to use the get_header() function in the template.

    get_header();
    
    // page content here
    

    Best regards,
    Ismael

    #1112517

    All pages on my website have “Header visibility and transparency” set to “Transparent Header”

    I am using a TEAMS plugin to display a new teams taxonomy and team members profile pages which users a custom PHP page (not an enfold page)… this page starts off with:

    <?php
    namespace ots_pro;
    ?>
    <?php get_header(); ?>

    When using the “Get_header()” as suggested, it only pulls though as “no transparency”. How can I use get_header and have Transparent Header?

    I’m trying to find out what attributes I need to add to this page so it fulls through the header as transparent.

    #1112803

    Hi,

    Thanks for the update.

    Try to include the $avia_config global variable in the template, right above the get_header function.

    global $avia_config;
    

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.