Support » Plugin: Simply Static » Relative paths not working for some elements

  • My site is built using WPBakery as a page builder, and when I convert the site to static html, some of the images don’t work – just the ones that are background images of ‘page sections’. The relative paths aren’t linking properly and they end up like this:

    <div id=”background-layer–2″ data-mk-lazyload=”false” class=”background-layer mk-background-stretch none-blend-effect js-el” data-mk-img-set='{“landscape”:{“desktop”:”./wp-content/uploads/2018/09/shutterstock_577945651.jpg”,”tablet”:”./wp-content/uploads/2018/09/shutterstock_577945651.jpg”,”mobile”:”./wp-content/uploads/2018/09/shutterstock_577945651.jpg”},”responsive”:”true”}’ ><div class=”mk-color-layer”></div>

    For images that work, the relative path has ./../wp-content, rather than ./wp-content which doesn’t work

    Any ideas on how to fix this?

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