Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Ignored stylesheets and page margins

Ignored stylesheets and page margins

Views: 824

Results 1 to 6 of 6
20 Jan 2013, 8:03 PM
#1
jelly8ean avatar

jelly8ean

New Zenner

Join Date:
Nov 2012
Posts:
12
Plugin Contributions:
0

Ignored stylesheets and page margins

Hi, I'm a bit of a newbie at this.

I began the day trying to get my page centred horizontally within the browser, using first the ADMIN, then my custom stylesheet.css. Now the page is spanning the whole browser window and ignores any changes I make within mainWrapper and navSuppWrapper; even changes to its background colour are ineffective now.

I'm using IE9 and Google Chrome to check, emptying caches and refreshing. Also, I have tried deleting and renaming the stylesheet, and checking the html source through F12 in the browser: the page warps, so I know for sure that it is the custom stylesheet that is being accessed.

Can anyone guide me, or any thoughts?

Many thanks :smile:

20 Jan 2013, 8:12 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,774
Plugin Contributions:
10

Re: Ignored stylesheets and page margins

One of the posting tips you skipped asks that you provide a link to the site. This is a textbook example of why we need the link. It's impossible to "see" what's controlling the site without actually seeing the site.

If you're concerned about the SEs getting a look too early, submit it as mysiteDOTcom.

20 Jan 2013, 8:28 PM
#3
jelly8ean avatar

jelly8ean

New Zenner

Join Date:
Nov 2012
Posts:
12
Plugin Contributions:
0

Re: Ignored stylesheets and page margins

dbltoe:

One of the posting tips you skipped asks that you provide a link to the site. This is a textbook example of why we need the link. It's impossible to "see" what's controlling the site without actually seeing the site.

If you're concerned about the SEs getting a look too early, submit it as mysiteDOTcom.

Yes, of course - it's at https://www.catastart.co.uk/shopping. Thanks

20 Jan 2013, 11:42 PM
#4
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Ignored stylesheets and page margins

remove the width statement in your stylesheet for the body, and the page will center again

21 Jan 2013, 1:25 AM
#5
jelly8ean avatar

jelly8ean

New Zenner

Join Date:
Nov 2012
Posts:
12
Plugin Contributions:
0

Re: Ignored stylesheets and page margins

Design75:

remove the width statement in your stylesheet for the body, and the page will center again

That is nothing short of a miracle, thankyou so much.

Along the way, I accidentally deleted the classic stylesheet, and that seems to have kick-started some of the other changes I had made into working too! Although the top and bottom navigation bars won't display now with their background-color: #473F87. Could you tell me what it is I've done wrong with that?

Many thanks

21 Jan 2013, 10:35 AM
#6
jelly8ean avatar

jelly8ean

New Zenner

Join Date:
Nov 2012
Posts:
12
Plugin Contributions:
0

Re: Ignored stylesheets and page margins

jelly8ean:

That is nothing short of a miracle, thankyou so much.

Along the way, I accidentally deleted the classic stylesheet, and that seems to have kick-started some of the other changes I had made into working too! Although the top and bottom navigation bars won't display now with their background-color: #473F87. Could you tell me what it is I've done wrong with that?

Many thanks

My most recent issues seem to be down to my cache. Thanks again for your help Design75.