Bonjour,
J'utilise Joomla 2.5.7 avec un template Artisteer.
Voici le CSS de mon postbullet :
Dans un article j'aimerais utiliser une autre image que '../images/postbullets.png'.
J'ai d'abord essayé en html via l'éditeur TinyMCE de cette manière :
<ul style="list-style-image: url('images/postbullets-green.png');"> mais ça ne change rien ... ni dans mon éditeur, ni sur le site.
Auriez-vous une idée ou bien un cas similaire ?
D'avance merci !
J'utilise Joomla 2.5.7 avec un template Artisteer.
Voici le CSS de mon postbullet :
Code:
/* begin PostBullets */
.art-postcontent ol, .art-postcontent ul
{
margin: 1em 0 1em 2em;
padding: 0;
}
.art-postcontent li
{
color: #0E181A;
margin: 5px 0 0 -15px;
padding: 0 0 0 26px;
}
.art-postcontent li ol, .art-post li ul
{
margin: 0.5em 0 0.5em 2em;
padding: 0;
}
.art-postcontent ol>li
{
background: none;
padding-left: 0;
/* overrides overflow for "ul li" and sets the default value */
overflow: visible;
}
.art-postcontent ul>li
{
background-image: url('../images/postbullets.png');
background-repeat: no-repeat;
background-position: top left;
padding-left: 26px;
/* makes "ul li" not to align behind the image if they are in the same line */
overflow-x: visible;
overflow-y: hidden;
}
/* end PostBullets */
J'ai d'abord essayé en html via l'éditeur TinyMCE de cette manière :
<ul style="list-style-image: url('images/postbullets-green.png');"> mais ça ne change rien ... ni dans mon éditeur, ni sur le site.
Auriez-vous une idée ou bien un cas similaire ?
D'avance merci !

Commentaire