Solved

Oscommerce Layout Problem

Posted on 2007-11-29
10
312 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
 

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now