If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Cart colour change to match homepage advice please

Cart colour change to match homepage advice please

Locked

Started by ritchie111 on 9 Aug 2006, 2:05 AM · Views: 4,929

Results 21 to 40 of 40
This thread is locked. New replies are disabled.
12 Aug 2006, 5:16 AM
#22
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart colour change to match homepage advice please

Again, your path is incorrect...

And on advice from Ajeh...try this: in steps...

Place the image in the /shop/images folder and one copy in the /shop/includes/templates/your_template_name/images folder
Then try this code(copy and paste)

define('HEADER_SALES_TEXT', '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');

then also try this relative path code

define('HEADER_SALES_TEXT', '<img src="../images/logo2.JPG">');

If the latter works...try deleting the image first in the template/images folder and see if the image still works if not replace the image and remove from the /shop/images folder.

Zen-Venom Get Bitten

12 Aug 2006, 5:25 PM
#23
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

YES YES got it :smile: :thumbsup: this was the one:thumbsup:
define('HEADER_SALES_TEXT', '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');

12 Aug 2006, 5:26 PM
#24
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

ritchie111:

YES YES got it :smile: :thumbsup: this was the one:thumbsup:
define('HEADER_SALES_TEXT', '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');

Now how do i move it to the right please.

12 Aug 2006, 8:37 PM
#25
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart colour change to match homepage advice please

You are making changes to the core files and should be creating your own template files, the ones that you are editing. or the override system...

/shop/includes/templates/template_default/images/logo.gif

should be:

/shop/includes/templates/your_custom_template_name/images/logo.gif

Try this; not positive of the syntax though:

define('HEADER_SALES_TEXT', align-right; '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');

Or look at thisCSS Positionand determine the use for inline.

Zen-Venom Get Bitten

12 Aug 2006, 10:01 PM
#26
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

kobra:

You are making changes to the core files and should be creating your own template files, the ones that you are editing. or the override system...

/shop/includes/templates/template_default/images/logo.gif

> should be:
> ```
/shop/includes/templates/your_custom_template_name/images/logo.gif

Try this; not positive of the syntax though:

define('HEADER_SALES_TEXT', align-right; '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');

> Or look at this[CSS Position](http://www.communitymx.com/content/article.cfm?cid=529B0)and determine the use for inline.
This is,nt working , i have also read the css files on alighnment but still no luck:( 
how hard is this to do its seems to be getting harder and harder.
I am assuming it goes in the same file as we origonally done earlier in this thread?

Ritchie
14 Aug 2006, 2:45 AM
#27
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

Im Really stumped by this alighnment to the right
can anyone do it for me please?:blush: :(

14 Aug 2006, 2:57 AM
#28
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart colour change to match homepage advice please

As this is a file and not the css I can not do it for you.
But You can try:

define('HEADER_SALES_TEXT', float: right; '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');

Zen-Venom Get Bitten

14 Aug 2006, 2:58 AM
#29
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

kobra:

You can try:

define('HEADER_SALES_TEXT', float: right; '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');

I Take it this is inplace of this one?
Originally Posted by ritchie111
YES YES got it   this was the one 

define('HEADER_SALES_TEXT', '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');


Ritchie
14 Aug 2006, 3:21 AM
#30
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

Ok I have got this
define('HEADER_SALES_TEXT','.right-element {
float: right;
width: 49%;
<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');
and it has moved to the right.but it has left some text there:blush:
you can see here
https://www.crystalglassfantastic.co.uk/shop

Ritchie

14 Aug 2006, 3:26 PM
#31
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

Can one help me with this please?

define('HEADER_SALES_TEXT','.right-element {
float: right;
width: 49%;
<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');
14 Aug 2006, 5:28 PM
#32
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart colour change to match homepage advice please

Sorry for the chase...I am back where I have access to my tools.

Revert back to the header.php statement to:

define('HEADER_SALES_TEXT', '<img src="http://www.crystalglassfantastic.co.uk/shop/images/logo2.JPG">');

Then to position it right edit the stylesheet.css and find:

#tagline {
	color:#000000;
	font-size: 2em;
	text-align : center;
	vertical-align: middle;
	}

Change to:

#tagline {
	color:#000000;
	font-size: 2em;
	text-align : right;
	vertical-align: middle;
	}

This will get it done.

Zen-Venom Get Bitten

14 Aug 2006, 11:13 PM
#33
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

I Have done something wrong Cobra:blush:

http://www.crystalglassfantastic.co.uk/shop/
14 Aug 2006, 11:47 PM
#34
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

I have tryed in both these

 public_html / shop / includes / templates / template_default / css /stylesheet.css

and also in

public_html / shop / includes / templates / classic / css /stylesheet_new.css

but still no change Cobra.:blush:

15 Aug 2006, 12:50 AM
#35
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart colour change to match homepage advice please

MySelf from my first Post:
If using the most recent version and a template based on the template_default file set, then all this is controlled through the stylesheet.css. Each item has a class and this class is either in the css or can be added and then size, margins, internal & external spacing, colors font type, size, and other styling functions can be set there.
If you have not setup YOUR OWN template, as above(and you have not) you will continue to have these problems...

You also need to STOP editing the core files and BEGIN using the override system but you need to create a template first..

BTW: How did you get the blue color on your site?? This is not part of the base install.

You might have an easier time using a template from the downloads area. There is a start classic blue shade that will approximate your styling with instructions. This will get you a template and one based uopn the template_default file set. UYou can then quit fighting the 2 stylesheets being processed on your site and be prepared for the future Zen Cart releases.

Zen-Venom Get Bitten

15 Aug 2006, 2:30 AM
#36
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

To be honest Kobra you have the patience of a saint and i think i will follow your advice.
The colours on the template were done by some one i payed via a codding site.:blush:
This is harder than i ever imagined and i thank eveyone who has tryed to help me with this, Especially you Kobra:thumbsup:
you lot do a great job.

regards Ritchie

15 Aug 2006, 2:39 AM
#37
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

I am asuming its this one Kobra?
Blue Shade for 1.3.X
thanks

Ritchie

15 Aug 2006, 4:55 AM
#38
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart colour change to match homepage advice please

That is correct, and very close to what you have been working with.

Zen-Venom Get Bitten

18 Aug 2006, 12:28 AM
#39
ritchie111 avatar

ritchie111

New Zenner

Join Date:
Jun 2006
Posts:
70
Plugin Contributions:
0

Re: Cart colour change to match homepage advice please

I would just like to thank eveyone who helped me with this problem especially Kobra for his time, help and patience:cheers:

Ritchie

18 Aug 2006, 5:43 AM
#40
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cart colour change to match homepage advice please

I am positive that I speak for all posters...You are most welcome and Best of luck with your store...As new issues arise you are most welcome to post back.

In fact as your new found knowledge will allow you to assist others, please become a contributing member of the community.:bigups:

Zen-Venom Get Bitten