Annonce

Faites la différence entre le service WordPress.com et l'application libre WordPress.

Mettez-vous à jour ! WordPress 3.3.2 est disponible en français.

Annonce 1 : Le Codex en français a besoin de vous pour avancer !
Annonce 2 : Avant de poster, n'oubliez pas de faire une petite recherche et de lire les règles de ce forum.
Annonce 3 : Lisez notre blog, il regorge de bonnes informations.
Annonce 4 : Rejoignez-nous sur Facebook, Google + et sur Twitter

#1 25-08-2009 12:11:36

goonpay
Connaisseur WP
Date d'inscription: 08-08-2008
Messages: 31

Featured Gallery décalage du contenu ?

Bonjour,

Ma configuration WP actuelle
- Version de WordPress :
- Thème utilisé :
- Extensions en place :
- Nom de l'hebergeur :
- Adresse du site : www.goonpay.com/blog

Problème(s) rencontré(s) :

J'utilise le plugin featured galery pour le défilement des images en haut.
Je pensais que c'etait lié à la taille de ma galerie car en fait, une fois ma galerie placée, ca deplace tout le reste en dessous... Pour les débuts d'articles, c'est cool, mais pour la sidebar, je veux bien qu'elle commence comme il faut à droite.

J'ai pensé à décaler via le css la position de la side barre sauf que ca me le deplace aussi sur les autres pages. Or sur les autres pages, je n'ai pas la galerie donc la sidebar se place bien.

Comment faire pour replacer la sidebar uniquement sur l'index.php comme il faut ?

Hors ligne

 

#2 25-08-2009 12:56:43

Anonyme 2
Blogueur Fou
Date d'inscription: 22-05-2007
Messages: 11665

Re: Featured Gallery décalage du contenu ?

Bonjour,


normalement dans style.css il y a une partie attitré pour l'index.
je n'arrive pas à accéder à votre site.
vous n'indiquez pas le thème que vous utilisez.

Hors ligne

 

#3 25-08-2009 13:36:29

goonpay
Connaisseur WP
Date d'inscription: 08-08-2008
Messages: 31

Re: Featured Gallery décalage du contenu ?

J'ai utilisé le theme urban-view, mais il est bien modifié désormais ...

Je vais aller voir dans le style pour l'index mais je n'ai rien vu de tout ca

Voila mon style.css

Code: html

* { padding:0; margin:0; outline:0; }
body {
	background:#0E3244 url(images/background.jpg) no-repeat top center;
	color:#606060;
	font-family: Trebuchet, sans-serif;
	font-size:11px;
	line-height:15px;
margin-left:auto;
margin-right:auto;
}
.left, .alignleft { float:left; display:inline; }
.right, .alignright { float:right; display:inline; }

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.cl { font-size:0; line-height:0; height:0; display:block; clear:both; }

a { color:#253b4d; text-decoration:none; cursor:pointer; }
a:hover { background:none; color:#000; text-decoration: none; }
a img {border: 0;}

h1 { font-size:60px; font-family: "Trebuchet MS", Arial, sans-serif; font-weight: normal; line-height:50px; }
h2 { font-size:22px; font-family: "Trebuchet MS", Arial, sans-serif; font-weight:bold; line-height:20px;color:#ff6600; }
h3 { font-size:30px; font-family: "Trebuchet MS", Arial, sans-serif; font-weight: normal; line-height:24px; color:#000;}

h2 span{ background:none; color:none; }
h2 span a { color:#2f4b65; text-decoration: none;}

#shell { width:833px; margin:0 auto; }

#header { height:170px; position:relative; }
#header h1{ width:295; height:115px; padding:35px 0 0 25px; }
#header h1 a{ text-decoration: none; background:transparent !important; }

.rss { font-size:0; line-height:0; width:202px; height:38px; text-indent: -4000px; background:url(images/rss.jpg) no-repeat 0 0 !important; top:145px; left:707px; position:absolute;}
.rss:hover { background-position: 0 bottom !important; }

.bloginfo { font-family: "Trebuchet MS", Arial, sans-serif; color:#000; font-size:17px; font-style: italic; display:block; padding:0px 0 0 30px;}

#main {width:904px; background:url(images/page_fond.png) center;}
#content {float:left; width:707px;}
#sidebar { float:right; width:180px; color:#ff6600;}
#sidebar ul { list-style-type: none;  }
#sidebar h2 { color:#fff; font-size:14px; font-style:italic; font-weight: bold; line-height:30px; padding:0 0px; position:relative; top:0px; left:-6px; margin-top:10px; margin-bottom:0px;}
#sidebar ul li { line-height:16px; margin-bottom:0px;}
#sidebar ul ul li { line-height: 14px; margin-bottom: 0px;}
#sidebar ul ul li li { background: none; }
#sidebar ul ul ul  {
    background: none;
    padding-left: 10px;
}
#sidebar a{ color:#8fc2be; text-decoration: none; background:transparent !important; }
#sidebar a:hover { color:#e6124e; }
#sidebar ul ul li a{ background:url(images/bul.gif) no-repeat 0 5px !important; padding-left:12px; }

#sidebar .recentcomments a { background:transparent !important;}

#sidebar li.widget_text,
#sidebar li.widget_search,
#sidebar li.widget_tag_cloud,
#sidebar li.widget_calendar
{ background:url(images/) repeat-x 0 bottom; padding-bottom:10px;}

#sidebar .widget_calendar{}
#sidebar .widget_calendar table{ width:70%; text-align: center;}
#sidebar .widget_calendar th,
#sidebar .widget_calendar td{ padding:2px; }
#sidebar .widget_calendar a{ text-decoration: underline ; background:transparent !important;}
#sidebar .widget_calendar a:hover { color:#e6124e !important; text-decoration: none;}


.post { position:relative; margin-bottom:0px; }
.post h2{ padding:0px 0px 0px 0px; min-height:30px;font-color:#000}
.post-cnt { padding:10px 20px 0 20px;}
.post-c { width:100%;}
.post-b { height:82px;}
.post-b .post-cnt{ padding-top:0;}

.post .entry { overflow: hidden; }
.post .entry p{ padding-bottom:15px;}
.post .entry ol,
.post .entry ul { padding:0 0 15px 30px;}
.post .entry li { padding:0 0 3px 0;}
.post .entry blockquote { padding-left:45px; background:url(images/quote.gif) no-repeat 5px 5px;}
.post-meta { color:#808080; font-size:11px; }
.post-meta p{ position:relative; z-index:2;}
.post .entry h1 { font-size: 24px; line-height: 140%; font-weight: bold;}
.post .entry h2 { font-size: 22px; padding: 0; min-height: 0; font-weight: bold;}
.post .entry h3 { font-size: 20px; font-weight: bold; color: #636363}
.post .entry h4 { font-size: 16px; font-weight: bold;}
.post .entry h5 { font-size: 14px; font-weight: bold;}
.post .entry h6 { font-size: 12px; font-weight: bold;}

small.date {position:absolute; top:30px; left:-54px; width:64px; height:49px;text-align:center; color:#ff6600;font-size:14px;font-weight:700; line-height:16px; font-family: "Trebuchet MS", Arial, sans-serif; background:url(images/date_fond.png) 0px 0px no-repeat;padding: 9px 0px 0 0;}

.num-comments { display:block; position:relative; width:165px; height:10px; background:url(images/) no-repeat 0 0; font-size:10px;  padding:36px 0 0 85px; left:-85px; margin-top:-25px;}
.num-comments a{ font-weight: bold; color:#1b4441; background:transparent !important; }
.num-comments a:hover{ color:#e6124e; }

#footer {height:20px; background:url(images/footer.png) no-repeat center; position:relative; color:#597b77; }
#footer p{ text-align: center; padding-top:30px; }
#footer p a{ color:#597b77; }
#footer p a:hover{ background:#597b77; color:#fff;}


h2.pagetitle,
h2.center { color:#fff; text-align: center; padding:20px 0; font-weight: normal;}

.post-page { }
.post-page h2 { min-height:2px; padding-left:0;}

.post-single { margin-bottom:30px;}

.page-nav { font-size:11px; padding-bottom:10px; color:#101010; position:relative; z-index:30;}
.page-nav div { float:none; display:block;margin-left:25px; }
.page-nav .alignright { text-align: right; }

ol.commentlist, ul.commentlist { list-style-type: none; }
ol.commentlist li{ background:url(images/); padding:10px; margin-bottom:5px; height:100%;}
ol.commentlist li p{ padding-top:10px;}
ol.commentlist li img{ float:right}
ol.commentlist li .comment-author{ font-weight: bold;}
ol.commentlist li .comment-meta{ font-size:10px; }

ol.commentlist li .comment-author,
ol.commentlist li .comment-author a,
ol.commentlist li .comment-meta a,
ol.commentlist li .comment-meta{ color:#aaa; }

ol.commentlist li a{ color:#777; }
ol.commentlist li a:hover { background:#777; color:#fff; }

input, textarea, select, {font-size:10px; font-family: Verdana, sans-serif; background:#ff6600; border:0;}
input, textarea { padding:5px; color:#fff; }
textarea { overflow:auto; }

h3#comments { padding:20px 0 10px 0;}
#respond { padding:20px 0 0 0;}
#respond h3{ padding-bottom:10px;}
#respond p{ padding-bottom:10px;}
#respond input{ width:250px; }
#respond input#submit{ width:150px; }
#respond textarea{ width:543px; height:180px; }
	
#content #searchform { text-align: center; height:30px;}

.screen-reader-text { display:none;}

#searchform input {float:left;background:url(images/champ_recherche.png) no-repeat; width:125px; height:25px; border:0;}

#searchform #searchsubmit {background:url(images/loupe.png); width:25px; height:25px; border:0;}

#searchform #s {}


#searchform {height:20px;}

.navigation img {
    margin: 0px;
}
.navigation a:hover {
    text-decoration: none;
}
p.attachment {
    text-align: center;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
.children li {
    list-style-type: none;
    background: none !important;
}

#galery {
margin-left:19px;
float:left;
}

Dernière modification par goonpay (25-08-2009 13:39:00)

Hors ligne

 

Pied de page des forums

Propulsé par PunBB 1.2.23
© Copyright 2005-2006 WordPress France

[ Generated in 0.033 seconds, 10 queries executed ]