Page 1 of 2

How too change Buttons/Text?

Posted: Wed Aug 31, 2011 5:28 am
by Jackcohen
I have the default theme, how can i change the buttons like "Add too cart" i right click it and see it's in this directory
catalog/view/theme/default/image/button-right-active.png
If I'm not mistaken i just took that image photoshopped it with a different color and reuploaded it same name but the button still appears to be the same? I don't know if I'm doing this correctly; Correct me if I'm wrong. Does anyone know how i can change the buttons on my site?

Edit: If you also know how i can change the blue texts everywhere like Login, Product Title the color/font of the text please let me know as well.

Thanks

How too change buttons?

Posted: Wed Aug 31, 2011 5:52 am
by uksitebuilder
If you view that folder catalog/view/theme/default/image

You will see what images are for what.

The button is made up of multiple images which create an expandable background depending on what text is on the button

Re: How too change Buttons/Text?

Posted: Wed Aug 31, 2011 10:07 am
by Jackcohen
I'm on images, i even tried deleting all the images and reload my site and buttons still appeared that made me think the buttons are not in the image directory may you tell me exactly where it is

Re: How too change Buttons/Text?

Posted: Wed Aug 31, 2011 3:24 pm
by uksitebuilder
Images displayed in the layout are stored in the theme's image directory.

If you have a custom theme, you may be looking in the wrong image directory. However, you may also need to look and edit the default theme images too since the default theme acts as a fallback for template files that dont exist in the custom theme and therefore may be grabbing it's images from the default theme image directory.

Re: How too change Buttons/Text?

Posted: Wed Aug 31, 2011 9:13 pm
by Jackcohen
I have the default theme, i am reuploading them too the image directory but nothing happens

Re: How too change Buttons/Text?

Posted: Thu Sep 01, 2011 2:42 am
by uksitebuilder
They may be cached in your browser.

Give us a link and tell us what colour you are expecting them to be.

Re: How too change Buttons/Text?

Posted: Thu Sep 01, 2011 12:38 pm
by Jackcohen
Classic brown color like croscill.com main page you'll see a "Learn more" button like that exactly very similar too that

Re: How too change Buttons/Text?

Posted: Thu Sep 01, 2011 2:09 pm
by uksitebuilder
So, you have created:

button-left.png
button-left-active.png
button-right.png
button-right-active.png

And uploaded them to catalog/view/theme/default/image directory overwriting the originals?

Because if you have, then they should be showing. All I see is the originals.

So either you have named your new buttons incorrectly or have uploaded them to the wrong directory.

Re: How too change Buttons/Text?

Posted: Fri Sep 02, 2011 4:26 am
by Jackcohen
That's exactly what i did and they still won't change

How too change Buttons/Text?

Posted: Fri Sep 02, 2011 5:01 am
by uksitebuilder
Then there seems to be a roblem with your server because the buttons are still the default ones.

Have you tried deleting the current ones first?

Also double-check the file/folder permissions.

Re: How too change Buttons/Text?

Posted: Fri Sep 02, 2011 7:52 am
by Jackcohen
Yes, i did try deleting then uploading, it. What permissions should it be set too?

Edit: So i changed the button put permissions too 777 on my FTP. When i change it i click view image on my FTP it views my new button i wanted. But when i go too the button on the site it's the same then i go to View Background Image it shows the old button

Re: How too change Buttons/Text?

Posted: Fri Sep 02, 2011 4:43 pm
by uksitebuilder
In that case, the only possible answer is that your are uploading to the wrong directory in your ftp.

Re: How too change Buttons/Text?

Posted: Mon May 14, 2012 3:21 pm
by Josign
Accually it is correct that even if you upload the new images in the directory, it wont change.
I tried it too but it just doesnt work, the only thing I can get to work is to change the color background on the buttons in CSS.

Has someone found out why this is happening?

Re: How too change Buttons/Text?

Posted: Fri May 18, 2012 9:57 am
by Vectra
I agree. For one, there no longer seems to be left and right artwork (in v1.5.2.1). Making new png files with names of button.png and button-active.png and putting them in both default and mytheme/image folders does not change the color of "add to cart" buttons. I don't know why.
Here is some of the stylesheet.css that does not list the entire url but just ../image/button.png:

Code: Select all

/* button */
a.button, input.button {
	cursor: pointer;
	color: #FFFFFF;
	line-height: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;	
	background: url('../image/button.png') top left repeat-x;
	-webkit-border-radius: 7px 7px 7px 7px;
	-moz-border-radius: 7px 7px 7px 7px;
	-khtml-border-radius: 7px 7px 7px 7px;
	border-radius: 7px 7px 7px 7px;
	-webkit-box-shadow: 0px 2px 2px #DDDDDD;
	-moz-box-shadow: 0px 2px 2px #DDDDDD;
	box-shadow: 0px 2px 2px #DDDDDD;	
}
a.button {
	display: inline-block;
	text-decoration: none;
	padding: 6px 12px 6px 12px;
}
input.button {
	margin: 0;
	border: 0;
	height: 24px;
	padding: 0px 12px 0px 12px;
}
a.button:hover, input.button:hover {
	background: url('../image/button-active.png') repeat-x;

Re: How too change Buttons/Text?

Posted: Fri May 18, 2012 3:10 pm
by ilikemmohome
I am reuploading them too the image directory but nothing happens

Re: How too change Buttons/Text?

Posted: Tue May 22, 2012 3:45 am
by Vectra
A few days ago I posted that this did not work for me. I had made new from scratch png swatch color files, the same 24 x 24 pix, 70dpi, but 24 bit depth instead of the origininal's 32 bit depth. My file size was 144 bytes, but the originals are a strangely high 48.8 kilobytes. The above parameters (bit depth and file size) were the only differences I could find.
Anyway, instead of using the new color file, I edited the original color file in Gimp (free and similar to photshop). It gave me a 32 bit depth file but a normal file size of 2.4 kilobytes, even after setting compression during saving to zero (I still don't know how the originals are so big in file size).
Anyway part 2: It worked and it worked by only changing /catalog/view/theme/mytheme/image/button.png and button-active.png.

Re: How too change Buttons/Text?

Posted: Wed Mar 06, 2013 8:17 pm
by vik007
Hi,

I have a similar situation whereas on my homepage the buttons are grey buttons but on other pages it appears the right side of the box is missing??

http://www.splay.co.uk (buttons are visible but grey??)

http://www.splay.co.uk/index.php?route=checkout/cart (Buttons is half shown only - orange)

Any ideas please? it was fine on version 1.4 but now i have upgraded to 1.5.5.1 it has messed up the buttons??

Re: How too change Buttons/Text?

Posted: Thu May 09, 2013 12:34 pm
by kirkyskreations
I deleted both button.png files from the default template and my new template and then uploaded them again and I got it to work. :)

It's just the one file - button.png and it has two boxes of colour above and below. I edited them in photoshop and the file did remain the same size but I'm not sure if that has anything to do with it not working.

I did have trouble getting it to work but once I deleted button.png from the default image folder, I uploaded my new colours to that folder too (just wanted to try anything to get it to work! ;) . Then once it was working I went back to default and uploaded the original blue colours and it works off my new template. Delete before uploading the new files, don't override and see how it goes.

Keep trying :)

Kirsten ;D

Re: How too change Buttons/Text?

Posted: Fri May 10, 2013 12:20 am
by vik007
Ill give that a go thanks:-)

Re: How too change Buttons/Text?

Posted: Fri May 10, 2013 12:43 am
by butte
Where we're reading "strangely high 48.8 kilobytes" and "uploaded them again and I got it to work," it may be that the ftp client is error-prone (either itself or in relation to the particular server). In at least one instance recently, switching to freeware FileZilla Client (sourceforge.net) for ftp abruptly stopped upload corruptions.