Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / IE & Chrome dont CENTER my "New Products for"

IE & Chrome dont CENTER my "New Products for"

29 May 2011, 4:02 PM
#1
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Post #1 by stefanl

I found that the "New Products for" in the center of the main page, when viewed in IE8 and Google Chrome, the text "New Products for "month".." is moved to the righ hand side of the main page.
Its simply not a centered text - as it is in Firefox.

Any ideas if I have to add some code, and if so which code, in the stylesheet. To get it to work in IE and Chrome as well.

Thanks in advance

29 May 2011, 10:16 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

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

Post #2 by dbltoe

If we could answer this with the information you give, we should also be able to pick better lottery numbers.:P

How about replying with the answers to the posting tips to include a link you your site. You can use the "yoursite DOT com" format if you wish.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

30 May 2011, 7:08 AM
#3
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Post #3 by stefanl

Hi,

I live in another time zone than you so when forgotteing, it takes a day to answer.

Its not my personal website, its rather a shop I am working on for a client of mine.

Webshop addresss without the "www" is: butik-harmony.se

I will eventually translate that english into swedish language on the shop. But in any case, I see this problem using Chrome and Internet Explorer, currently IE8

30 May 2011, 7:40 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

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

Post #4 by dbltoe

Let's start by using a different editor for the content of the main page. It looks like all you have is an image that you wanted aligned left.
In doing that, you created a file with head and style tags. Also, there are 12 p tags with nothing but spaces.
First of all, search engines will not like the page as there is no text on the define_mainpage,php.
Use the define pages editor in the admin >> tools to place the picture and some text on the main page. That will load the file without the "bad" code.
Once that's done, the New Products should fall in line.
http://tinyurl.com/42dhjup will show the errors and warnings for your site. Fixing the define_mainpage should fix all errors.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com