Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Oscommerce Layout Problem

Posted on 2007-11-29
10
319 Views
Last Modified: 2007-11-29
Hello,
I have a problem somewhere in my oscommerce store as a couple of the page layouts are not the same and I do not know where to look to sort the problem. I have trawled oscommerce support forum but can't find anything relevant.
In my store if I go to Accessories>Black PVD and then click on a product the page layout is correct (as is the case for most other pages),
If I go to Accessories>Steel and then click on a product it seems as though the middle column is too narrow as the info boxes on the right hand side are out of shape.
I don't know how this can be though as they work from the same stylesheet don't they?  I'm very new at this and have worked my way through it slowly but I don't know where to start looking to see what might be causing this problem.
Any help is very much appreciated.
0
Comment
Question by:Nicci_Leitch
  • 5
  • 5
10 Comments
 
LVL 21

Expert Comment

by:nizsmo
ID: 20377573
Try and check in the code to verify that they are in fact using the same stylesheet. If not, then this can be the problem.
0
 

Author Comment

by:Nicci_Leitch
ID: 20377675
Thanks for speedy response.
The page is the same - just the product thats different. i.e.

http://www.angelsbodystudioltd.co.uk/onlinestore/product_info.php?cPath=49_51&products_id=106
this one is ok, but the one below is wonky.

http://www.angelsbodystudioltd.co.uk/onlinestore/product_info.php?cPath=49_73&products_id=363

If they are both product_info.php what would make them differ as I don't know what to look for?

Many thanks
0
 
LVL 21

Accepted Solution

by:
nizsmo earned 500 total points
ID: 20377697
haha I see it:

Notifications
Notifications      Notify me of updates to 1.2mm Replacement Balls

in the right column, the word "Replacement" is too long for the width, thus it stretches the whole column...
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 

Author Comment

by:Nicci_Leitch
ID: 20377724
Crumbs! Why couldn't I think that way? So could you advise if I need to rename the item or is there a way of fixing it so that it can be called the same thing?

Thank you very much.
0
 
LVL 21

Expert Comment

by:nizsmo
ID: 20377742
Any permenant fix will have to be code related, and would probably be quite a job trying to locate where to do this.

Your easiest way is to rename your item, maybe try and find a replacement word for replacement? :P
Either that or as a temporary solution you can put a space in between replace ment (but may look ugly) which should then fix the layout.
0
 

Author Comment

by:Nicci_Leitch
ID: 20377783
Thank you so much, I can't believe how quickly you spotted it, I have renamed the item and now looks fab.
Please could you help me with one more thing. The little arrow in the right hand corner of the shopping cart makes the corner go the wrong direction!  It is the original image for oscommerce but I saved this image, made the background transparent, saved it as a png file, changed the file name from a gif to a png on the page that called it, so I don't know why it makes the underneath corner point the wrong way.
Any ideas?

Many thanks
0
 
LVL 21

Expert Comment

by:nizsmo
ID: 20377853
no problem glad you solved it.
As for the image, it is pointing the wrong way not sure why, but a manual (ugly hack) fix would be to rotate the image 180 degrees (which would then make it the right way). Look for this image file:
http://www.angelsbodystudioltd.co.uk/onlinestore/images/infobox/arrow_right.png

and download this file, then on your computer open it up, rotate by 180 degrees (i think) and then reupload this file back to the original location. Backup the original just incase!
0
 

Author Comment

by:Nicci_Leitch
ID: 20377901
Thank you, I'll go give that a quick try. Oh and you solved the problem with the column. Very Much appreciated.
0
 

Author Comment

by:Nicci_Leitch
ID: 20377938
Nope, that didn't sort it unfortunately.  I can't understand it as the background of the arrow is transparent and therefor should show through what's underneath. Why its changing it around I don't know.
Thanks for all your help with the column, the arrow will be a mystery I think.

Many thanks again.
0
 
LVL 21

Expert Comment

by:nizsmo
ID: 20378044
No problems glad to help! :)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Create animated movies for web page 18 85
Why is my wamp get_include_path() wrong? 2 21
How to check if a session is disconnected in php 9 32
Help with PHP 13 27
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question