New Zenner
- Join Date:
- Jun 2006
- Posts:
- 70
- Plugin Contributions:
- 0
Cart colour change to match homepage advice please
Guess not still no image grrrrrrr:blush:
Started by ritchie111 on 9 Aug 2006, 2:05 AM · Views: 4,929
New Zenner
Guess not still no image grrrrrrr:blush:
Black Belt
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
New Zenner
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">');
New Zenner
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.
Black Belt
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
New Zenner
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
New Zenner
Im Really stumped by this alighnment to the right
can anyone do it for me please?:blush: :(
Black Belt
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
New Zenner
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
New Zenner
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
New Zenner
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">');
Black Belt
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
New Zenner
I Have done something wrong Cobra:blush:
http://www.crystalglassfantastic.co.uk/shop/
New Zenner
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:
Black Belt
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
New Zenner
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
New Zenner
I am asuming its this one Kobra?
Blue Shade for 1.3.X
thanks
Ritchie
Black Belt
That is correct, and very close to what you have been working with.
Zen-Venom Get Bitten
New Zenner
I would just like to thank eveyone who helped me with this problem especially Kobra for his time, help and patience:cheers:
Ritchie
Black Belt
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
Tell staff why this post should be reviewed.