A good question came up from one of our customers.

"Why the theme is not valid?"

Let me explain:

A web page or HTML document is considered valid when it complies with World Wide Web Consortium HTML recommendations. To verify that a HTML document validates to formal published grammars and meets the standard use the W3C HTML Validator.
(http://www.thinkkeno.com/2009/10/usability-glossary/)

Themes generated by Prestashop Theme Maker are not valid. But you won't find any valid elsewhere.

Why is that? I see two main reasons:

- various (even native) modules insert JS and CSS directly into the code and not into external files
- & - this symbol is used in the code instead of its "safe" variation & . Because of this the validator detects a lot of errors

Both of these problems can be resolved, but not in any theme. It's up to Prestashop developers to modify the core and native modules - to prepare the default theme as valid one.

Yes, it's not ideal... but it's not such a big deal. Google doesn't mind very much and so do customers of your eshop.


Andrej Staš

Andrej is a Prestashop enthusiast. He started by developing his own themes and then formed the idea of creating Theme Maker. He enjoys finding ways to make his life simpler, and that is the philosophy he incorporates into all his projects. Andrej is also interested in WordPress, Amazon FBA, drop shipping, studying languages, and reading books.

2 Comments

Laurence Lagane · 1 decade ago

Hello. I want my website to be “zoomed” when i use an ipad. How does it workplease ??

    Andrej · 1 decade ago

    Open Your_theme/header.tpl, remove this line:

You must be logged in to post a comment.