Jump to content

Footer Width


Guest Trainer

Recommended Posts

Guest Trainer

Hi I am new to Cubcart and I am trying to integrate it into a mates website. I am trying to make the cart a fixed width of 778 px. I have run into a problem with the footer width. It is displaying at 100% . I have searched the forum but can not find where to change this. You can see what I mean at http://www.trainernotes.com/Store . Any help would be greatly appreciated.

Tia

Tom

Link to comment
Share on other sites

Your large static page width is from your html code...

<body bgcolor="#FFFFFF">

<table width="1256" border="0" cellspacing="0" cellpadding="0">

Width is 1256px.

The footer is automatically added but can easily be removed by purchasing a license. However it can be styled in the style.css near the bottom. To add the background image to cover the entire page, call it in the 'body' CSS instead.

Link to comment
Share on other sites

Guest Trainer

Your large static page width is from your html code...

<body bgcolor="#FFFFFF">

<table width="1256" border="0" cellspacing="0" cellpadding="0">

Width is 1256px.

The footer is automatically added but can easily be removed by purchasing a license. However it can be styled in the style.css near the bottom. To add the background image to cover the entire page, call it in the 'body' CSS instead.

Hi Robsta

Thanks for the reply.

When I call the Background Image from ' body'.css the image only displays once at the top of the page, it does not cover the complete page.

Can I set a fixed width for the footer anywhere? I have looked at style.css but can not see anywhere to make this change.

Thanks Again

Tom

Link to comment
Share on other sites

Your large static page width is from your html code...

<body bgcolor="#FFFFFF">

<table width="1256" border="0" cellspacing="0" cellpadding="0">

Width is 1256px.

The footer is automatically added but can easily be removed by purchasing a license. However it can be styled in the style.css near the bottom. To add the background image to cover the entire page, call it in the 'body' CSS instead.

Hi Robsta

Thanks for the reply.

When I call the Background Image from ' body'.css the image only displays once at the top of the page, it does not cover the complete page.

Can I set a fixed width for the footer anywhere? I have looked at style.css but can not see anywhere to make this change.

Thanks Again

Tom

You've got color settings in the HTML of the page which is probably overriding the stylesheet.

Regarding setting the footer to fixed width, I don't understand. It's already set to a fixed width?

Link to comment
Share on other sites

Guest Trainer

Regarding setting the footer to fixed width, I don't understand. It's already set to a fixed width?

I want to set the footer containing the copyright links to be 798 Pixels wide . Is that Possible and if so how?

Thanks

Link to comment
Share on other sites

Regarding setting the footer to fixed width, I don't understand. It's already set to a fixed width?
I want to set the footer containing the copyright links to be 798 Pixels wide . Is that Possible and if so how? Thanks
You could set a graphic the size of what you need and center vertical tile it? However you can only have one 'body' CSS background image set, so you couldn't also have the general wallpaper set in the same place.
Link to comment
Share on other sites

Guest Trainer

Hi Robsta

Thanks for your help. I was setting the styles in the page instead of the stylesheet. The problem with the background image displaying once was because 'background-repeat: repeat-x;' Removing this sorted the problem of the background image only displaying once.

You were right about my percieved problem with the footer. This was because the I had set the background in the table on index.tpl so the background was only background for that part of the page.. As you rightly said setting it in the stylesheet sorted the problem.

Thanks again for your help,

Tom

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...