I really appreciate the link but I would like to do it without adding a another addon. I much rather work with addon's that do bit more than just add images.
no problem. You could do that your self via my_changes addon. But this is what we did with this small addon. The difference is that you select via the addon setting screen which icons to show or not from a big variety of card icons, shipping icons and bank icons.
We did that for our stores so that we don't have to do the same thing over and over again, and we thought we share this with other people that might need that.
You could download it and open to see how it works.
For me it is not just getting the job done but also a learning experience that is why I would like to learn to do it without an html block or that great addon you made Fotis.
But Aleksey that option of using an html block instead is not such a bad fall back option.
However for now I am trying to see if I can succeed using the selector
you could try the my_changes cs-cart proposed method via hooks
You can override the payment_icons.tpl in design/themes/responsive/templates/blocks/static_templates
there is a hook in there called {hook name=“index:payment_icons”}
Tha means you can create a file called payment_icons.override.tpl inside the folder design/themes/responsive/templates/addons/my_changes/hooks/index if responsive is your theme.
Then you can create new divs with your own classes like
You also need the css classes to be added in the visual editor custom css tab
like
.mypayment1 {
background :url(images/mypayment1.png) no-repeat center center;
}
.mypayment2 {
background :url(images/mypayment2.png) no-repeat center center;
}
Last but not least you need to upload those image files in your images folder in your skin like /design/themes/responsive/media/images
Clean your store cache and Thats it (admin.php?cc&ctpl)
PS dont forget to enable the My changes Addon as this is by default deactivated
[color=#000088]Then go on in the previous file [/color][color=#282828][font=arial, verdana, tahoma, sans-serif]design/themes/responsive/templates/addons/my_changes/hooks/index [/font][/color][color=#000088]and add[/color]
but I use the fontawsome as alternative, I like ti better as the default icons and I use color option and size too, to make them look better in my theme.