osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How do I alter whole shop width?

This is a discussion on How do I alter whole shop width? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi, Currently it's a lot smaller than the page and I want it to just scale to whatever browser is ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-16-2005, 01:39 PM
Lurker
 
Join Date: Jun 2005
Location: UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
greg123
Default How do I alter whole shop width?

Hi,

Currently it's a lot smaller than the page and I want it to just scale to whatever browser is reading it like most web pages do.

I have tried a search but turned up blank - can anyone help out? Admin or code - how is it done?

Greg.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 08-16-2005, 06:52 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,584
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default RE: How do I alter whole shop width?

Template used?

If you use the CSS-fluid - then it is in the main_layout.css

/* page layout */
body, html {
margin: 0;
padding: 0;
margin-bottom: 4px;
background: #fff url(images/screenrulers-soft.png);
text-align: center; /* IE center bug */
}
div#pageFrame {
position: relative;
width: 100%; /* total pagewidth */
margin: 0 auto;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-19-2005, 02:11 PM
Lurker
 
Join Date: Jun 2005
Location: UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
greg123
Default RE: How do I alter whole shop width?

Hi, thanks.

I searched and can't find any .css files at all - I installed the standard 2.0 version and haven't modded it. I didn't use any style sheet mods.

Am I on the right track here or should there be something within the 2.0 setup that I can reset to allow 'full width'?

Thanks, Greg.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 08-19-2005, 02:36 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 323 Times in 306 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: How do I alter whole shop width?

You need to edit the main_page.tpl.php file in the template directory that you are using...

IF using the aabox template, edit /catalog/templates/aabox/main_page.tpl.php

It is straight html editing, find the table tag that controls the width and change it from 750 to whatever you want...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 08-19-2005, 02:48 PM
Lurker
 
Join Date: Jun 2005
Location: UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
greg123
Default RE: How do I alter whole shop width?

Ah, thanks that helps a lot and I can understand it. One final question - I don't want to set it to a width, I just want it to size to whatever is viewing it like any other simple html page would. What value do I set for size to acheive this 'wrap to page' type effect?

Greg.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 08-19-2005, 02:53 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 323 Times in 306 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: How do I alter whole shop width?

Change it from "750" to "100%"
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 08-20-2005, 12:29 AM
Lurker
 
Join Date: Jun 2005
Location: UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
greg123
Default RE: How do I alter whole shop width?

Thanks, found it and got it to do 100% no problem. Sadly it screwed up the layout with a big blue bag going down the right hand side, the text in the middle stayed at it's old width and the footer was split into two parts. I guess it needs a lot more work - if anyone has done this and can provide a 'step by step' please let me know as I'd appreciate it.

Greg.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 09-28-2005, 07:40 AM
New Member
 
Join Date: Aug 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tafkap
Default Re: RE: How do I alter whole shop width?

Quote:
Originally Posted by greg123
Thanks, found it and got it to do 100% no problem. Sadly it screwed up the layout with a big blue bag going down the right hand side, the text in the middle stayed at it's old width and the footer was split into two parts. I guess it needs a lot more work - if anyone has done this and can provide a 'step by step' please let me know as I'd appreciate it.

Greg.
hi greg,

i did the same stuff as you did. as the template uses background pictures you have to redo the background pictures used.....
you have to look for the file "main_page.tpl.php" in your template directory... search in the file for gif or jpg files....
i modified the aabox template to my needs and changed the following pictures in \catalog\images\

OSCMAX_top_low.jpg
OSCMAX_bg.gif (background of the whole shop, size not to be changed)
OSCMAX_infobox_bg.gif (background of the infoboxes left and right, size not to be changed)
OSCMAX_top.jpg (the banner at the top of your store, width should meet the new width of your shop)
OSCMAX_footer.jpg ("banner" at the bottom of your store, width should meet new width of your store)
OSCMAX_box_bg.jpg (this is the background of the middle of your store... on the left and on the right you have "another" background for your infoboxes.... and in the middle its the background for the middle of your shop where the products and products description can bee seen..... hard to describe but see the file below and you will understand what i mean )

to my needs....

hope this helps...........
t
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 12-07-2005, 04:07 PM
New Member
 
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tonybe33
Default RE: Re: RE: How do I alter whole shop width?

Thanks msasek! Very helpful. Is there anything you don't know? :P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
how do i alter the width of the info boxes??? tafkap osCMax v2 Customization/Mods 2 02-21-2006 02:26 AM
fixed width problems, please help:) willhost osCommerce 2.2 Modification Help 0 11-07-2005 11:06 AM
Change the content width all to the end. Squirrel osCommerce 2.2 Modification Help 8 04-18-2005 04:39 AM
How to set page width? hanool osCMax v1.7 Discussion 2 09-08-2003 11:12 AM
Width Issues tymiles osCommerce 2.2 Modification Help 1 03-30-2003 09:04 AM


All times are GMT -8. The time now is 08:37 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax