Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / changing the home page image size

changing the home page image size

Views: 1,211

Results 1 to 15 of 15
1 Jan 2026, 9:56 PM
#1
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

changing the home page image size

Upgrade from PHP 5.6
Version 1.5.7
to 2.1.0 and PHP 8.0
stitchnframeonline/S N F s t o r e
I was hoping to just shift my old customizations files that I spent months on to get it the way I wanted over to the upgraded site but that did not seem feezable.
So starting from step one.
I have been reading for 2 days on the forum but it is a struggle.
Have gotten a few things changed but still a long way away.
How to
resize that massive pic in the middle of the home page.- I am sure it is obvious but it has been 8 hours today and nothing is jumping out at me
TIA

2 Jan 2026, 12:39 AM
#2
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,843
Plugin Contributions:
0

Re: changing the home page image size

make the image smaller and/or declare the width in the html

3 Jan 2026, 1:47 PM
#3
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: changing the home page image size

I would like to control the image thru the html coding but what I have tried is not resulting in any change therefor I am assuming I am not in the correct srea.

3 Jan 2026, 2:02 PM
#4
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: changing the home page image size

includes/language/english/stitch/lang_header.php

'HEADER_LOGO_IMAGE' => 'cover1.jpg',
'HEADER_LOGO_WIDTH' => '125',
'HEADER_LOGO_HEIGHT' => '100',
changed from 254 to 125 and 254 to 100

3 Jan 2026, 2:04 PM
#5
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,782
Plugin Contributions:
21

Re: changing the home page image size

In what area are you and what did you try to do?

This image seems to be added in your define page, meaning you can edit from admin->Tools->Define Pages Editor->define_main_page.php

I have just added a style tag and it worked on my end:

<img [B]style="max-width:100%"[/B] src="images/large/cover1.jpg" alt="Stitch N Frame">

Keep in mind this is not the best approach in long term - the file is simply too big. The original image is 1800x1039 and 470 kB. You will never display it larger than 1600px (your container size) so you could resize the image, and then you could optimize it (tinypng or similar). I got it down to 249 kB.

But... Why are you using template_default, is something wrong? Why not Responsive Classic, or even better the NEW responsive classic or ZCA Bootstrap templates?

3 Jan 2026, 2:52 PM
#6
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: changing the home page image size

it has been over 10 years since my original customization and i was trying to reproduce the appearance and this is the way I was familiar with.
I have read over the years of custom templates that were offered for download and the problems were something that I did not want. Also I did want something unique to my industry. unfortunately since my old site is not usable i can show where I am going.
i have read a very little bit about responsive classic -
What I am going for is a small banner pic with a description to the right, description of our shop and hours with location.
Breadcrumbs and the
the main body has updated description or our shop and slideshow - on the right is my manufacturers in the sideboxes along with other informationBoxes on the right with our manufactures
So then will this be easier to back up and go to the Responsive Classic and how do you recommend to start over?

3 Jan 2026, 3:39 PM
#7
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,843
Plugin Contributions:
0

Re: changing the home page image size

The default template is not supposed to be used for the site. In fact, there is no selection to choose it. I suspect that you brought the database over for the upgrade from the original site, and it is set to your Stitch custom template, which doesn't exist for it to be found so it just goes to displaying the default template, also causing the overrides not to work. I also suspect that your original template was a customization from the classic template, which also is not really a template you would use today, as it doesn't do responsive for mobile devices.

Looking at your site on the wayback machine to see what it looked like in the latest snapshots, the basics of what your site is should be up and running in an afternoon.

Also, I did want something unique to my industry. - I was the original web developer for the Heaven and Earth Designs website for more than a decade, and I am not sure what you are doing on the site that is unique for the needle arts niche.

3 Jan 2026, 4:26 PM
#8
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: changing the home page image size

TY for the insight - I am in the middle of rebuilding the stitch so I can imagine it would not valid yet....
since I have been adding the override file(stitch) as i have been customizing. Would it be bad that these folders(files) be left or do I need to go bad and find these and delete afte the classic is completed? TIA

3 Jan 2026, 4:31 PM
#9
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: changing the home page image size

stitchnkitty:

Looking at your site on the wayback machine to see what it looked like in the latest snapshots, the basics of what your site is should be up and running in an afternoon.

OH!! your have so much confidence in my ability - LOL!! Will go for the Responsive Classic and give it a whirl.
TY

3 Jan 2026, 5:05 PM
#10
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: changing the home page image size

barco57:

Using an image editor, create a new background graphic and save it to includes/templates/YOURTEMPLATE/images/yourheaderimage.jpg.

Now open your stylesheet.css and find or add the following code.

#logoWrapper {
width:760px;
height:110px;
background-image:url('../images/yourheaderimage.jpg');
background-repeat:no-repeat;
}

this is in your docs and the image has been loaded but unfortunately I can not find the styleshet for this adjustment as quoted above.

3 Jan 2026, 5:11 PM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,780
Plugin Contributions:
11

Re: changing the home page image size

Please do yourself a favor and clone responsive_classic before using it live.

When you make mistakes (Pobody's Nerfect), you will have the original to fall back on for testing or starting over with another clone.

3 Jan 2026, 5:37 PM
#12
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,843
Plugin Contributions:
0

Re: changing the home page image size

additionally, it appears that you are starting from a clean install versus running a database upgrade to maintain all of your categories, customers, orders, etc...

3 Jan 2026, 9:53 PM
#13
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: changing the home page image size

At this point I am wondering since I have made so many missteps I should dump the folder and begin again - Also the MySQL did not attach which this may also be an issue down the road and the reason is from the fresh install as opposed to the update.???? I guess this is all within the learning curve.
TYIA

3 Jan 2026, 10:12 PM
#14
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: changing the home page image size

Any comments are appreciated. I have created and new subfolder, leaving the currernt one in place and am starting fresh with /SNF.
Am going to "clone" the template as was suggested. so the new location of the constructed site is going to be stitchnframeonline.com/SNF
And hopefully this will progress in a better manner. TYIA

3 Jan 2026, 10:21 PM
#15
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,843
Plugin Contributions:
0

Re: changing the home page image size

I did make an offer in your private messages to get you much farther down the road.