Post by andyyeoh123 » Thu Mar 18, 2010 8:51 pm

Hi,

I just increase the image size in the admin panel from 120 X 120 to 150 X 150.

But the size of the border is not increase automatically.

Please advise how to modify or increase the border size.

Thanks in advance

Attachments

Table Border.JPG

Table Border.JPG (24.25 KiB) Viewed 811 times


New member

Posts

Joined
Wed Mar 17, 2010 9:40 pm

Post by rph » Fri Mar 19, 2010 6:22 am

The default cart isn't a liquid layout. The size of #container, #column_left, #column_right and #content margin are going to restrict the content div size.

I'd try going to /catalog/view/theme/[theme name]/stylesheet/stylesheet.css and changing

Code: Select all

#container {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
to

Code: Select all

#container {
	width: 1080px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
I haven't tested this and it will screw with page view for people with smaller monitors.

The other option is to change the number of products per row from 4 to 3.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by FxMan » Sun Mar 28, 2010 2:57 am

rph, have you had any success editing the #container css?

I'm trying to get the paypal/mastcard logos and the powered by Open Cart and the copyright info up off of the bottom of the browser, so the design has a little breathing room at the bottom.

I've tried margin 20px, padding 20px in the #container div.
I've tried to edit the #footer div adding margin and padding.

None of it will work.
The layout seems to want to snap to the bottom of my browser.

New member

Posts

Joined
Fri May 15, 2009 7:18 am

Post by gavin m » Sun Mar 28, 2010 3:28 am

admittedly, I done this via Firebug, but:

Code: Select all

padding-bottom: 50px;
In the #footer worked. Anything below 50 made no difference. It looks like the footer is quite shallow and the images go off the bottom of it, so 50px is needed to get it below the images.

not tried it with the actual files mind......

Active Member

Posts

Joined
Thu Jun 04, 2009 3:23 pm
Who is online

Users browsing this forum: No registered users and 12 guests