WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. wptobbe
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/flexslider-hg/

  2. Hal Gatewood
    Member
    Plugin Author

    Posted 1 year 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

About this Topic