• I’ve got a theme i made myself with a div called <div class="header-image">
    this div has a style: background-image: url(img/img2.jpg)

    I want to replace this background-image style with the slider.
    Implementing it via the HTML Gives me an error.

    Here is how i implemented it via html:

    <div class="header-image-sub" style="background-image: url(<?php echo do_shortcode("[huge_it_slider id='1']"); ?>);">

    https://ww.wp.xz.cn/plugins/slider-image/

Viewing 1 replies (of 1 total)
  • Plugin Contributor huge-it

    (@huge-it)

    Dear customer Dear customer slider cant be used as a background of element.
    You may create your div element give him sizes and with absolute position set on the slider but not use it as part of css.

Viewing 1 replies (of 1 total)

The topic ‘Implementing slider in custom theme div’ is closed to new replies.