Page 1 of 1

Change icons of default theme for new theme

Posted: Wed Jan 26, 2011 5:19 am
by albsim81
Hi, in first I hope you understand my english.
I'm creating a new template and i want to change icons as "information", "brands", "category" etc.
I put them in the directory catalog/view/theme/newtheme/image and i select the newtheme in the admin panel but the browser takes them from the directory catalog/view/theme/default/image. Why?

thank you

Re: Change icons of default theme for new theme

Posted: Wed Jan 26, 2011 6:40 am
by hbuchel
If you take a look at catalog/view/theme/default/template/module/information.tpl file you will see this bit of code

Code: Select all

<img src="catalog/view/theme/default/image/information.png" alt="" />
If you copied the module files from the default theme for your new theme, you will have to update that image url to be that of your new icons you've made and change the other module files also (for brands, categories, etc)

Re: Change icons of default theme for new theme

Posted: Wed Jan 26, 2011 8:51 am
by Chones
If you want to use the same image for all of them, the easiest way is to change .box .top img in your stylesheet to

Code: Select all

.box .top img {
	display: none;
}
Then change box_top.png in your image folder to include the image.