Fork me on GitHub






Bug d'affichage des news suitea un changement de theme
Régulier
Inscrit: 06/02/2003 15:18
Messages: 387
Bonjour a tous,

Depuis un changement de theme su rmon site, je rencontre un bug assez ennuyeux. Depuis la mise en place de ce theme le texte de mes news (qui sont en faite des recettes de cuisine) se retrouve avec des espacement entre les lignes et cela arie d'un article a un autre .

A savoir que je suis en XOOPS 2.4.4, module news 1.56 SEO et que j'utilise l'editeur Tinyeditor.

Voici un screen avec le probleme ou il me met des ligne d'espacement sans raison ... et ce aleatoirement.

Open in new window


Merci d'avance a tous

Sixpack


Posté le : 03/10/2010 19:08
Partager Twitter Partagez cette article sur GG+
Re: Bug d'affichage des news suitea un changement de theme
Xoops accro
Inscrit: 20/02/2008 20:27
De Belgium
Messages: 2708
Les nouveaux lignes dans la recette sont faites par des sections paragraphe (balise <p>) et pas par des sautes lignes (balise <br />).
Dans la configuration du TinyEditor on peut changer ça.

La différence est que probablement l'autre thème a une autre règle dans les fichiers CSS pour ce balise p.

(Pour le liste des ingrédients, il y a aussi les balises liste ul et li)
  • 800 g de petites anguilles et mince
  • citron
  • sel
  • farine
  • huile

Posté le : 03/10/2010 22:12

Salutations, Gerard.
PS: Excusez mon mauvais français.
De la bonne manière de poser les questions
Partager Twitter Partagez cette article sur GG+
Re: Bug d'affichage des news suitea un changement de theme
Régulier
Inscrit: 06/02/2003 15:18
Messages: 387
Bonjour Ghia,

Merci pour ta reponse, par contre sais-tu quel balise pourrais modifier cela ? car je trouve rien concernant la balise p .

Voici mon fichier style :

@import url(blocks.css);
@
import url(module_content.css);

body {
    
color#000;
    
margin0;
    
padding0px;
    
font-size10pt;
    
font-family:     TahomaVerdanasans-serif;
    
background:        #121212 url(img/bg_main.jpg) repeat-x fixed left top;
}

table {
    
width100%;
        
margin0;
        
padding0px;
}

table td {
    
padding0;
    
margin0;
    
border-width0;
    
vertical-aligntop;
}

h1 {font-size150%;}
h2 {font-size140%;}
h3 {font-size120%;}
h4 {font-size100%;}
h5 {font-size90%;}
h6 {font-size80%;}

h1h2h3h4h5h6 {
    
padding0px;
    
margin0px;
}

{
    
color#F46F0B;
    
text-decorationnone;
    
font-weightnormal;
    
positionrelative;
}
a:hover {
    
color#FF9900;
    
text-decorationunderline;
}

img {    border:    0px;}

#xo-canvas {
   
width80%; 
   
marginauto
   
padding0px    ;
    
color:            #666666;
    
width985px;
}

/* ---------- Header / banner / globalnavigation ---------- */
#xo-canvas-header {
    
height92px;
    
margin-left166px;
    
backgroundurl(img/box-orange.pngno-repeat right top;
    
width819px;
}

html #xo-canvas-header {margin-left: 163px;}

#xo-user-actions {
    
padding12px 10px 6px 0;
    
text-alignright;
    
color#F3F3F3;
    
font-weightnormal;
}
#xo-user-actions a {
    
font-weightnormal;
    
color#FFFFFF;
    
text-decorationnone;
}
#xo-user-actions a:hover { color: #EFB810; }


#xo-slogan {
    
floatleft;
}

#xo-search {
    
floatright;
    
width15em;
    
font-size110%;
    
font-weightbold;
    
color#ca7002;
    
padding15px 15px 0px 0px;
}

#xo-main-logo {
    
floatleft;
    
backgroundurl(img/box-blue.png);
    
height123px;
    
width160px;
    
text-aligncenter;
    
padding-top15px;
}

#xo-banner {
    
floatright;
    
width468px;
}

#xo-canvas-globalnav {
    
backgroundurl(img/box-dblue.pngrepeat-x left top;
    
height41px;
    
width819px;
    
margin-left166px;
    
margin-top5px;

}
html #xo-canvas-globalnav {margin-left: 163px;}

#xo-canvas-globalnav ul {
    
list-style-typenone;
    
margin0px;
    
padding12px 10px 0px;
}

#xo-canvas-globalnav li {
    
displayinline;
}

#xo-canvas-globalnav li a {
    
floatleft;
    
text-decorationnone;
    
text-aligncenter;
    
color#FE9800;
    
font-weightbold;
    
displayblock;
    
border-right1px solid #FE9800;
    
padding-right8px;
    
padding-left8px;
}

#xo-canvas-globalnav li a:hover {
    
color#FE9800;
    
font-weightbold;
}

#xo-sitename {
    
text-decorationnone;
    
text-aligncenter;
    
color#FE9800;
    
font-weightbold;
    
font-size14px;
}

#xo-header-img {
    
backgroundurl(img/header-img.pngno-repeat;
    
width130px;
    
height88px;
    
float:left;
    
position:relative;
}

/* ---------- Content (main) zone ---------- */
#xo-canvas-content {
    
padding6px 0;
    
line-height1.3em;
    
clearboth;
}
#xo-page {
    
padding-top5px;
    
min-height:    400px;
    
background:     #ebebeb url(img/bg_page.gif) repeat-x left top;
}

html #xo-page {    height: 400px; }

#xo-content {
    
clear:            both;
    
padding:        .5em;
    
margin:            0px;
    
color:            #333;
}

/* ---------- column configurations ---------- */
#xo-canvas-columns {
    
width100%;
}
#xo-canvas-leftcolumn {
    
width170px;
}

#xo-canvas-rightcolumn {
    
width170px;
    
padding0 .5em;
}

#xo-canvas-leftcolumn, #xo-page, #xo-canvas-rightcolumn {
    
vertical-align:    top;
}

#xo-canvas.leftcolumn-layout #xo-canvas-columns, #xo-canvas.threecolumns-layout #xo-canvas-columns {}
#xo-canvas.rightcolumn-layout #xo-page, #xo-canvas.threecolumns-layout #xo-page {}

/* ---------- Footer ---------- */
#xo-footer {
    
text-aligncenter;
    
padding1em;
    
margin-left166px;
}
#xo-footer a {    color: #FFFCC1; }
#xo-footer a:hover {
    
text-decorationunderline;
    
color#D6D6D6;
}

/* ---------- Extra layout / forms---------- */
blockquote {
    
margin-left:        .5em;
    
border:                1px solid #8EC0F9;
    
border-left-width:    6px;
    
background:            #f4faff;
    
padding:            .5em;

}
.
xoopsCode {
    
background:            #ffffff;
    
font-family:        monospace;
    
border:                1px solid #d0d0d0;
    
padding:            .5em;
    
width:                100%;
    
display:            block;
    
overflowauto;
}

select[name=timezone_offset] {
    
font-size:            90%;
}


input[type=text], input[type=password] {
    
color#666666;
}

input[type=text]:focusinput[type=password]:focustextarea:focus {
    
border-color:        #999999;
    
outline:            1px solid #999999;
    
background-color:    #FAFAFA;
    
color#666666;
}


input[type=submit], input[type=button] {
    
color#fff;
    
border1px solid #2A2A2A;
    
text-transformuppercase;
    
font-size75%;
    
font-familyVerdanaArialHelveticasans-serif;
    
font-weightbold;
    
background#000000;
    
padding3px;
}
 
 
input[type=text], input[type=password], textarea {
    
border:                1px solid #ddd;
    
margin:                2px 0px;
    
padding-left:        .2em;
    
background:     #F7F7F7;
    
font-familyVerdanaArialHelveticasans-serif;
    
font-size:100%;
    
positionrelative;
}

textarea width95%;}


En te remerciant d'avance

Six

Posté le : 04/10/2010 18:32
Partager Twitter Partagez cette article sur GG+
Re: Bug d'affichage des news suitea un changement de theme
Xoops accro
Inscrit: 20/02/2008 20:27
De Belgium
Messages: 2708
Probablement il y a une règle dans l'autre thème.

Posté le : 05/10/2010 01:24

Salutations, Gerard.
PS: Excusez mon mauvais français.
De la bonne manière de poser les questions
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

66 Personne(s) en ligne (53 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 66 | Plus ...