The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 08-18-2011, 10:51 PM
Mike's Avatar
Mike is offline
 
Join Date: Oct 2009
Location: New York
Posts: 672
Send a message via AIM to Mike
Default

Is it possible to turn the Open Bag link on the Mini Cart into an Image?


Is it possible to turn the Open Bag link on the Mini Cart into an Image, like a Checkout Button image?
__________________
Mike
  #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
  #3  
Old 08-20-2011, 06:02 AM
Mike's Avatar
Mike Mike is offline
 
Join Date: Oct 2009
Location: New York
Posts: 672
Send a message via AIM to Mike
Default

Awesome, thank you Eugene.

What do you think of the result?

My Site
__________________
Mike
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:51 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.