Largeur de page

Résolu/Fermé
alexislevrai Messages postés 564 Date d'inscription mercredi 20 août 2008 Statut Membre Dernière intervention 26 novembre 2015 - 22 févr. 2009 à 01:41
alexislevrai Messages postés 564 Date d'inscription mercredi 20 août 2008 Statut Membre Dernière intervention 26 novembre 2015 - 1 mars 2009 à 22:38
Bonsoir,
j'ai un problème avec la largeur de ma page, je souhaiterai l'élargir, mais je ne trouve pas comment.

Le problème est assez spécial, il s'agit de page html dans un layout. Je sais pas trop ou modifier en fait.

Layout:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>{{ store.name }} &mdash; {{ page.name }}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<meta http-equiv="Content-Language" content="en-us" />
	<link href="/products.rss" rel="alternate" title="Product RSS Feed" type="application/rss+xml" />
	<link href="{{ theme | theme_css_url }}" media="screen" rel="Stylesheet" type="text/css" />
	<script src="{{ 'prototype' | theme_js_url }}" type="text/javascript"></script>
	<script src="{{ 'store' | theme_js_url }}" type="text/javascript"></script>
	{{ head_content }}
</head>

<body id="{{ page.permalink }}-page" class="{{ page.permalink }} {{ page.category }}">

	<div id="wrap">
		
		<noscript>
			<div class="error" id="error">
				<ul>
		          <li>JavaScript est n&eacute;cessaire pour voir le store.</li>
		        </ul>
		    </div>
		</noscript>
		
		{% if errors != blank %}
		<div id="error" class="error">
			<ul>
				{% for error in errors %}<li>{{ error }}</li>{% endfor %}
	  		</ul>
	  	</div>
		{% endif %}

		{% if store.website != blank %}
		<div id="website">
			<a href="{{ store.website }}">Retour</a>
		</div>	
		{% endif %}

		<div id="header"{% if theme.image != blank %} class="image"{% endif %}>
			<h1><a href="/"><span>{{ store.name }}</span>{% if theme.image != blank %}<img src="{{ theme.image.url }}" />{% endif %}</a></h1>
		</div>		

		<div id="main">

			<div id="main-title">
				<h2><span>{{ page.name }}</span></h2>
			</div>

			<div id="main-content">
				{% if page.category == 'custom' %}
				{{ page_content | paragraphs }}
				{% else %}
				{{ page_content }}
				{% endif %}
			</div>

		</div>

		<div id="navigation">

			<div id="minicart">
				<h3 class="minicart-title"><span>Panier</span></h3>
				<ul class="minicart-contents">
					<li class="minicart-items"><span id="cart-count">{{ cart.item_count | pluralize: 'produit', 'produits' }}</span></li>
					<li class="minicart-total"><span id="cart-total">{% if theme.show_shipping_and_tax %}{{ cart.total | money_with_sign }}{% else %}{{ cart.price | money_with_sign }}{% endif %}</span></li>
				</ul>
				<div class="minicart-options">
					<div class="minicart-view"><a href="/cart" title="View Cart"><span>Panier</span></a></div>
					<div class="minicart-checkout"><a href="/checkout" title="Checkout"><span>Checkout</span></a></div>
				</div>
			</div>

			{% if theme.show_search %}
			<div id="search" class="pod">
				<h3 class="search-title"><span>Recherche</span></h3>
				<form id="search-form" name="search" action="/products" method="get">
					<input id="search-input" name="search" type="text" /><button id="search-submit" name="search-submit" type="submit" title="GO"><span>Go</span></button>
				</form>
			</div>
			{% endif %}

			{% if artists.active != blank %}
			<div id="artists" class="pod">
				<h3 class="artists-title"><span>Artistes</span></h3>
				<form id="artists-form" name="artists" action="/" method="get">
					<select id="artists-select" name="artist" onchange="Store.selectArtist(this)">
						<option value="">Selectionnez un artiste...</option>
						{% for artist in artists.active %}
						<option value="{{ artist.url }}">{{ artist.name }}</option>
						{% endfor %}
					</select>
				</form>
			</div>
			{% endif %}

			<div id="categories" class="pod">
				<h3 class="categories-title"><span>Cat&eacute;gories</span></h3>
				<ul class="categories-list">
					<li><a href="/products" title="All"><span>Toutes</span></a></li>{% for category in categories.active %}<li>{{ category | link_to }}</li>{% endfor %}
				</ul>
			</div>
			
			{% if theme.show_newest %}
			<div id="newest" class="pod">
				<h3 class="newest-title"><span>Nouveaux Produits</span></h3>
				<ul class="newest-list">
					{% for product in products.newest limit:5 %}<li>{{ product | link_to }}</li>{% endfor %}
				</ul>
			</div>
			{% endif %}
			
			{% if theme.show_top_selling %}
			<div id="top-selling" class="pod">
				<h3 class="top-selling-title"><span>Top des Ventes</span></h3>
				<ul class="top-selling-list">
					{% for product in products.top_selling limit:5 %}<li>{{ product | link_to }}</li>{% endfor %}
				</ul>
			</div>
			{% endif %}

			{% if theme.show_products_feed %}
			<div id="feed" class="pod">
				<h3 class="feed-title"><span>RSS</span></h3>
				<ul class="feed-list">
					 <li class="li-1"><a href="/products.rss" title="Product RSS Feed"><span>Flux RSS Produits</span></a></li>
				</ul>
			</div>	
			{% endif %}
			
			<div id="help" class="pod">
				<h3 class="help-title"><span>Infos</span></h3>
				<ul class="help-list">
					{% for page in pages.all %}<li>{{ page | link_to }}</li>{% endfor %}<li>{{ pages.contact | link_to }}</li>
				</ul>
			</div>
		<div id="footer"><span></span></div>
	</div>
	<div id="extra-1"><span></span></div>
	<div id="extra-2"><span></span></div>
	<div id="extra-3"><span></span></div>
	<div id="extra-4"><span></span></div>
	<div id="extra-5"><span></span></div>
	<div id="extra-6"><span></span></div>
</body>
</html>



HTML Home
{% if products.featured != blank %}

<div id="products">		
	{% for product in products.featured %}
	<div id="product-{{ forloop.index }}" class="{{ product.css_class }}">
		<a href="{{ product.url }}" title="View {{ product.name | escape }}" class="product-a">
			<img class="product-img" src="{{ product.image | product_image_url size:"medium" }}" alt="Image of {{ product.name | escape }}" /><span class="stilt"></span>
			<div class="product-info"><h3 class="product-title"><span>{{ product.name }}</span></h3><p class="product-price"><span>{{ product.price | money_with_sign }}</span></p>{% if product.on_sale %}<p class="product-status"><span>Sold&eacute;</span></p>{% endif %}</div>
		</a>
	</div>
	{% endfor %}
</div>

{% else %}
<p class="alert-noproducts"><span>Aucun produit pour le moment.</span></p>
{% endif %}



La page d'ou provient le problème: http://musthaveonline.fr/bigcartel.com
A voir également:

2 réponses

gryzzly Messages postés 4608 Date d'inscription lundi 7 novembre 2005 Statut Contributeur Dernière intervention 24 octobre 2020 1 330
22 févr. 2009 à 04:37
Ici :
<link href="{{ theme | theme_css_url }}" media="screen" rel="Stylesheet" type="text/css" />

En clair, dans la feuille de style css du theme en question ...
0
alexislevrai Messages postés 564 Date d'inscription mercredi 20 août 2008 Statut Membre Dernière intervention 26 novembre 2015 51
1 mars 2009 à 22:38
Merci du tuyau.
0