Zen Cart Logo
Forums / Basic Configuration / Adding images to sideboxes

Adding images to sideboxes

Locked

Views: 2,694

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
28 Nov 2008, 12:58 AM
#1
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Adding images to sideboxes

Ok been trying to find this answer and not having any luck.
I want to add images instead of text for the categorie, designer, etc..
If you look on my site you'll see that categories is just in text..I want to add my own image.

http://lights-camera-actions.com/store

Thanks!

28 Nov 2008, 1:36 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Adding images to sideboxes

JuzJoJo:

Ok been trying to find this answer and not having any luck.
I want to add images instead of text for the categorie, designer, etc..
If you look on my site you'll see that categories is just in text..I want to add my own image.

http://lights-camera-actions.com/store

Thanks!

Ju,
At the top of this page is a massive dictionary called Tutorials/Faqs

Look at this:
https://www.zen-cart.com/tutorials/index.php?article=135

28 Nov 2008, 1:37 AM
#3
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Re: Adding images to sideboxes

lol I know about the massive dictionary as you put it..
I just couldnt find it..ty

28 Nov 2008, 1:39 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Adding images to sideboxes

JuzJoJo:

lol I know about the massive dictionary as you put it..
I just couldnt find it..ty

Ju,
Glad I could get you on the right track..
Did not mean to be blunt!! Please do not take it that way..

The key to any search is the way you ask your question!! :)

28 Nov 2008, 2:00 AM
#5
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Re: Adding images to sideboxes

lol its ok..
I cant figure it out ..as simple as it is...I cannot get the image to show

28 Nov 2008, 2:04 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Adding images to sideboxes

JuzJoJo:

lol its ok..
I cant figure it out ..as simple as it is...I cannot get the image to show

Ju,
Did you upload your image to:
includes/ templates/ majic/ images

  1. Which sidebox are you wanting to change???
28 Nov 2008, 2:08 AM
#7
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Re: Adding images to sideboxes

haredo:

Ju,
Did you upload your image to:
includes/ templates/ majic/ images

  1. Which sidebox are you wanting to change???

I want to change them all ..
Im trying to do categories first.
I have the image uploaded catergories.jpg
I have changed the english file to say catergories.jpg
and I did the second edit as well..
Obviously Ive done something wrong

28 Nov 2008, 2:09 AM
#8
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Re: Adding images to sideboxes

this is what i have in the english.php file
define('BOX_HEADING_CATEGORIES', 'categories.jpg');

28 Nov 2008, 2:14 AM
#9
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Adding images to sideboxes

JuzJoJo:

this is what i have in the english.php file
define('BOX_HEADING_CATEGORIES', 'categories.jpg');

Edit the stylesheet.css

#categoriesHeading {
background-image: url(../images/your_image_name_here.gif);
background-repeat: no-repeat;}

  1. upload the image to:
  2. includes/ images
  3. includes/ templates/ majic/ images
28 Nov 2008, 2:35 AM
#10
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Re: Adding images to sideboxes

getting there lol..
How do i change the width to reflect 165x50 and how do I change the next sidebox which is designers?

28 Nov 2008, 2:44 AM
#11
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Adding images to sideboxes

JuzJoJo:

getting there lol..
How do i change the width to reflect 165x50 and how do I change the next sidebox which is designers?

Ju,
admin panel/ configuration/ layout settings

  1. There will be two Column Width - left
  2. change to 165 in both
28 Nov 2008, 2:58 AM
#12
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Adding images to sideboxes

haredo:

Ju,
admin panel/ configuration/ layout settings

  1. There will be two Column Width - left
  1. change to 165 in both

Ju,
I forgot this little issue in the .css

#categoriesHeading {stylesheet.css (line 621)
background-image:url(../images/categories.jpg);
background-repeat:no-repeat;
height:50px;
}

  1. Notice the red text above just add her...
29 Nov 2008, 1:59 AM
#13
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Re: Adding images to sideboxes

thanks will try that

29 Nov 2008, 2:18 AM
#14
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Re: Adding images to sideboxes

Ahhh it was a bracket in the wrong place..sheesh..thanks!!!
Now my final question on this issue lol...
My next heading is Creative Team..then Best sellers etc...
How do I got about changing each one?
Is the same steps as the Categories?

29 Nov 2008, 3:41 AM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adding images to sideboxes

If you want to substitute images for text in all or most of the sidebox headings, you will find it much easier to use the Image Titles mod (link in my sig).

It doesn't require you to edit a file for every sidebox, but just upload the 3 or 4 custom files in the mod package and name your images according to the instructions.

29 Nov 2008, 6:18 PM
#16
juzjojo avatar

juzjojo

New Zenner

Join Date:
Nov 2008
Location:
Ontario, Canada
Posts:
72
Plugin Contributions:
0

Re: Adding images to sideboxes

Your link wont open for me

nm..I used ff to open it..will give it a try..thanks