Volusion Content area

I am using a Volusion shopping cart. This uses templates in its page structure.

On the home page the template make up for the header and footer and a content area exists in the space between.

If you have a look at www.francoisbouttier.co.uk  you will see the page content looks too far to the left.
I have tried to align the Content with the menu but cannot seem to cause this to happen.

I wonder if the reason can be seen in the page source?

I am attaching two template files perhaps something can be seen here.

Many thanks
John
Volusion.zip
johnhardyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris StanyonWebDevCommented:
You can centre your content by adding auto left and right margins on your #content_area rule

#content_area {
     margin:0px auto;
}

It looks like that rule is already setup, but it's inline somewhere so you'll need to hunt around for it. Currently, in the source it looks like this:

<!-- #################### BEGIN HOMEPAGE STYLES IN TEMPLATE HTML #################### -->
<style type="text/css">	
    #content_area{padding:10px 10px 0 10px; width:940px;}
    #content_area a.productnamecolor{color:#666666;display:block; font-size:12px; font-weight:normal;}
    #content_area .pricecolor{color:#333333; font-size:12px; font-weight:bold;
</style>
<!-- #################### END HOMEPAGE STYLES IN TEMPLATE HTML #################### -->

Open in new window

0
HagayMandelCommented:
The layout is a complete mass, and in order to put it in reasonable state, a major redesign is required.
If all you need is to horizontally center you menu and content, do the following:
In #content_area and in #topnav add:
width: 940px;
margin-left: auto;
margin-right: auto;
You'll still need to re position the cart image.
0
COBOLdinosaurCommented:
Oh my that is a mess.  I hope you didn't pay for that junk.  The layout may be salvageable, but before you do anything the CSS needs to be consolidated, and then after validation of both the CSS and HTML it might be possible to restore sanity to the page.  A fix here will only be short term. The page is a minefield.

Cd&
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

johnhardyAuthor Commented:
Thanks HagayMandel I really only need to center the content.

I inserted the suggested code
width: 940px;
margin-left: auto;
margin-right: auto;
as follows but it seemed to make no difference and the content area remained pushed over to the left.

Perhaps I did not insert that code correctly?

<!-- #################### TOP NAVIGATION #################### -->
<div id="topnav">

<div id="DropDown_Currency"></div>
width: 940px;
margin-left: auto;
margin-right: auto;


      <!-- #################### CONTENT AREA #################### -->    
      <div id="content_area">
      </div>
width: 940px;
margin-left: auto;
margin-right: auto;
   
    <div class="clear"></div>
</div>
0
johnhardyAuthor Commented:
Thanks ChrisStanyon

I am not clear on what you suggest,
      
I can see this OK
<!-- #################### BEGIN HOMEPAGE STYLES IN TEMPLATE HTML #################### -->
<style type="text/css">      
    #content_area{padding:10px 10px 0 10px; width:940px;}
    #content_area a.productnamecolor{color:#666666;display:block; font-size:12px; font-weight:normal;}
    #content_area .pricecolor{color:#333333; font-size:12px; font-weight:bold;
</style>
<!-- #################### END HOMEPAGE STYLES IN TEMPLATE HTML #################### -->

but am not clear on what I should be doing with
#content_area {
     margin:0px auto;
}
Can you please advise?
Thanks
John
0
HagayMandelCommented:
You got it all wrong!
In your CSS file add the following:

#content_area, #topnav {
     width: 940px;
     margin-left: auto;
     margin-right: auto;
}

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
johnhardyAuthor Commented:
Many thanks for the help.

John
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.