Last 15 Snips show! Welcome to Snipped, a code gallery for creating, saving and sharing all kinds of code snippets.

Workaround: Banner BUG img size

JTL Shop 4 · April 29, 2016 11:24 am

0 0 493

Wenn man ein Banner Bild anlegt, was breiter ist als der Bildschirm an sich. Ist die Drag & Drop Klickzone nicht korrekt.

## In /admin/templates/bootstrap/banner.tpl
// vor {include file='tpl_inc/footer.tpl'}

// Einf├╝gen:

// webgreat 6.4.16 Bug fix Bild zu breit - Div zu klein
var width = this.width, height = this.height;
$("#area_container").css({"height": height + 'px' , "width": width + 'px'});

Discuss this Snip
    No Discussion Comments found.

    You must be Signed In to discuss this Snip


Joined on
April 28, 2016

  • 22 Snips
  • 8 Comments Posted
Snip Tags
Get Social And Share

Manage and share all of your code snippets in one easy place.