HG Slider
[resolved] Set image as background-image instead of using img-tag (2 posts)

  1. wptobbe
    Posted 2 years ago #

    I came across this site where the slider works really well when using the slider in full-width themes. They've set the image as background-image instead of including it through an img-tag. That way we can use background-size:cover to fill the image in the container.

    If this isn't something you think about implementing, how would you recommend using the slider for full width?


  2. Hal Gatewood
    Plugin Author

    Posted 2 years ago #

    This plugin uses the flexslider by WooThemes. I won't be changing my plugin to use that technique. Flexslider is responsive and should fill the containing element you setup for it to use, whatever the site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • HG Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic