• I am looking to add a video to the header space instead of an image.

    I see that there a number of plugins that claim to achieve this, however i don’t think any are compatible with this theme.

    Can you advise on how I would do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @djhorne,

    I am not sure what plugin you tried to use, but you can try to find one that offers a shortcode too. After that, using a child theme, you could replace the code from sections/llorix_one_lite_header_section.php with something like this:

    <?php echo do_shortcode('your_shortcode'); ?> where you would replace your_shortcode with the shortcode offered by the plugin.

    Best regards,
    Rodica

    Thread Starter djhorne

    (@djhorne)

    Thank you for the response.

    Your idea is simple enough, however I would like to keep the other functionality such as text and buttons with the header.

    I have identified the code that pulls the image

    <!– CONTAINER –>
    <?php

    $llorix_one_lite_header_logo = get_theme_mod(‘llorix_one_lite_header_logo’, llorix_one_lite_get_file(‘/images/logo-2.png’));

    All the rest is the additional features.

    I have tried to used your shortcake idea within this code, but no joy.

    Do you have any suggestions?

    link to site below
    https://finer.solutions

    Hi @djhorne,

    I see that you manage to add the video. If you want, you can share your solution with the other users.

    Best regards,
    Rodica

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Video in Header’ is closed to new replies.