discobob83 Posted September 18, 2010 Posted September 18, 2010 Hi All, I've installed define mainpage successfully but the field size appears to be wrong? I'm using a template and as soon as I installed define mainpage, the contents I add are partially hidden behnid the right hand column. Also the new products box at the bottom also appears to have shifted slightly to the right and is now also partially hidden behind the right column. Any idea how to fix this? I did search both this forum and google for an answer but I couldn't find anyone with the same problem. Any help would be hugely appreciated. Best Wishes, Tom Quote
Guest Posted September 18, 2010 Posted September 18, 2010 Tom, Contributions are for STANDARD osCommerce installations, so when you apply them to a template you need to edit the code in the contribution to conform to the layout of the template. Without seeing your site, or the code, there is very little we can do to help. Chris Quote
discobob83 Posted September 18, 2010 Author Posted September 18, 2010 Tom, Contributions are for STANDARD osCommerce installations, so when you apply them to a template you need to edit the code in the contribution to conform to the layout of the template. Without seeing your site, or the code, there is very little we can do to help. Chris Hi Chris, Thanks so much for replying. My site ishere. Which code do you need to see? I'll gladly post here any code required. Thanks so much for helping. This is my first oscommerce site and I'm enjoying learning but it's also been very stessful and frustrating. Having people that are willing to help is an amazing feeling. Best Wishes, Tom Quote
Guest Posted September 18, 2010 Posted September 18, 2010 Tom, Ok, here are the measurements on your site as defined in the stylesheet.css file: Total Width: 1003 px Center Width: 926 px Column Width: 163 px Main Content Width: 491 px So, you can do a couple of things to prevent the main content area overlap. 1) reduce the size of your columns a little, then increase the main content width (which is normally 600 px) 2) increase the center width a little, then increase the main content width I would suggest, reducing the column widths to 160 px each. this will allow 6px to be added to the main content width. Alternately, if you increase the center width, you will also have to resize your banner, columns and main content area. This is why I suggested changing the columns as it is less work. MAKE A BACKUP OF YOUR STYLESHEET.CSS BEFORE MAKING CHANGES Chris Quote
discobob83 Posted September 18, 2010 Author Posted September 18, 2010 Hi Chris, Thanks for the help. The thing I don't understand is that, before I added the define_mainpage contribution, the new products box at the bottom was aligned perfectly and the three thumbnail images were perfectly centred. If I could move them a few pixels to the left (where they were bfore) and move the main content box the same amount to the left the contents would fit. Is there any way to change the alignment of the define mainpage box, without changing the actual sizes of the content boxes in my css? Best Wishes, Tom Hi Chris, Thanks so much for replying. My site ishere. Which code do you need to see? I'll gladly post here any code required. Thanks so much for helping. This is my first oscommerce site and I'm enjoying learning but it's also been very stessful and frustrating. Having people that are willing to help is an amazing feeling. Best Wishes, Tom Quote
discobob83 Posted September 18, 2010 Author Posted September 18, 2010 Hey Chris, I just found it! :D I needed to change the width of the define mainpage contribution in includes/languages/english. I made it 491 to match the content box. Thanks so much for your help. I'm extremely grateful. My very best wishes, Tom Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.