View Single Post
  #2  
Old 08-19-2011, 10:55 AM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default

Yes, it is totally possible to turn the Open bag link in the minicart into an image-based button. To do that, you would need to add such code into your Ecwid CSS theme:

Code:
div.ecwid-minicart div.ecwid-minicart-link span.gwt-InlineLabel{
    /* turning the label into a sizable block  */
    display: block;
    /* moving text out of view */
    text-indent: -9999px;

    /* OPTIONAL: centering the block in the view */
    margin: 0 auto;

    /* assigning the background image, repeating, position and sizing */
    background: url(http://www.example.com/example.gif) no-repeat center center;
    width: 60px;
    height: 48px;
}


The image URL and the button sizes in the last part of this code need to be adjusted according to your task. The example of this method can be seen here: http://testrimmer.ecwid.com/simple-store