Support » Plugin: Copygram widget » [Plugin: Copygram widget] HTML Rewrite

  • Would it be possible to re-write the HTML and CSS? It is not very semantic.

    For one, instead of using nested DIVs, it should really use a UL+LI, then style it with CSS. Like this:

    <div id="copygram-widget-2" class="widget widget_copygram-widget">
    <h4 class="widgettitle">My Instagrams</h4>
    <a href="...filename.jpg" target="_blank" style="width:150px;height:150px;">						<img src="...filename.jpg" style="width:150px;height:150px;" alt="description"/>

    The CSS could be cleaned up accordingly. This would greatly help semantic readability.

    Also — the “alt” properties are not escaped correctly, so a double-quote that was included in my description ends up prematurely breaking the description.

  • The topic ‘[Plugin: Copygram widget] HTML Rewrite’ is closed to new replies.