Post by albsim81 » Wed Jan 26, 2011 5:19 am

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

Sigaretta elettronica Opencart 1.5.4.1 italian translation


New member

Posts

Joined
Wed Jan 26, 2011 5:14 am
Location - Italy

Post by hbuchel » Wed Jan 26, 2011 6:40 am

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)

New member

Posts

Joined
Mon Aug 30, 2010 9:41 pm

Post by Chones » Wed Jan 26, 2011 8:51 am

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.

http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk


User avatar
Active Member

Posts

Joined
Wed Mar 24, 2010 9:07 pm
Location - London
Who is online

Users browsing this forum: No registered users and 11 guests