• Resolved faxuno

    (@faxuno)


    Good morning!
    I installed the plugin and saw that it works with videos, that’s what interests me. However, the video appears above the template header, but I would like it as a background video header in the template, with the logo and menu inside. Is this possible? The template is called SKT Gym, and includes a background image in the header or a slideshow.

    <body <?php body_class(); ?>>
    <div class="header">
    <div class="container">
    <div class="logo">
    <?php skt_gym_the_custom_logo(); ?>
    <div class="clear"></div>
    <?php
    $description = get_bloginfo( 'description', 'display' );
    ?>
    <a href="<?php echo esc_url( home_url( '/' ) ); ?>">
    <h2 class="site-title"><?php bloginfo('name'); ?></h2>
    <?php if ( $description || is_customize_preview() ) :?>
    <p class="site-description"><?php echo esc_html($description); ?></p>
    <?php endif; ?>
    </a>
    </div>
    <div class="toggle"><a class="toggleMenu" href="#" style="display:none;"><?php esc_html_e('Menu','skt-gym'); ?></a></div>
    <div class="sitenav">
    <?php wp_nav_menu( array('theme_location' => 'primary') ); ?>
    </div><!-- .sitenav-->
    <div class="clear"></div>
    </div> <!-- container -->
    </div>

    The class is specified in the ccs like this:

    .header {
    background: url(https://www.dofitmind.com/wp-content/uploads/2024/06/DoFitMind-Header.jpg) no-repeat;
    background-position: left bottom;
    background-size: cover;
    height: auto-flow;
    }

    I tried shortcode several ways in header.php but failed. How could this be done?

    Thanks, Stefano

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.