Nous vous faisons grâce de nos articles en retard sur les mises à jour estivales (mais néanmoins importantes !) du CMS Joomla (v. 1.5.4, v. 1.5.5 et v. 1.5.6) et référençons directement ici une astuce permettant d’insérer une image d’arrière-plan dans un article sous Joomla.

Code (pour inspiration)

<div class= »floatbox » style= »background: transparent url(your_background_image_here.png) repeat scroll 0% 0%; width: 700px; height: 497px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; »>
<div align= »left »></div>
    <div style= »margin: 15px 5px 0px; »>
        <div align= »left »></div>
        <h4 align= »left »><span style= »color: rgb(0, 0, 0); »>ARTCLE HEADING</span></h4>
        <div align= »left »> </div><p align= »left »>ARTICLE TEXT<div align= »left »></div>
        <p align= »left »><b>Another user driven Joomla Tutorial by our Tech Team</b></p>
    </div>
</div>

Note: ce code source est « curieux », il est copié « tel quel » de l’article original et devrait être adapté.

Sources

  • HerdBoy Web Design – Adding a Background Image to Your Joomla Articles
    […] In this tutorial we are going to show you how to add a background image to an article on your website with some CSS code. The code is inserted into your article itself. You can use the sample code provided to apply this CSS background individually to articles that you choose so we are not going to insert any code into our template to apply it universally to all articles.  […]

             via

Modifié le