bruno aouizerat Posted July 11, 2016 Share Posted July 11, 2016 Bonjour, je souhaiterais faire apparaître les textes superposés aux images du diaporama standard Prestashop, avec un fond transparent (par exemple, texte blanc sur fond noir transparent d'opacité 0.5, de façon à laisser voir l'image qui est dessous). Depuis l'interface du back office, j'ai trouvé comment choisir la couleur du texte et la couleur du fond, mais seulement pour une couleur de fond opaque. Si je change le code html pour modifier la couleur de fond du texte avec une transparence, ce changement est supprimé lorsque j'enregistre la modification. Merci d'avance de votre aide. Link to comment Share on other sites More sharing options...
iXs Posted July 12, 2016 Share Posted July 12, 2016 En effet, le rgba ne passe pas. Une solution est d'ajouter une class, par exemple <span class="textslider">VOTRE TEXTE</span> Et ensuite d'éditer le fichier CSS de votre thème en y ajoutant à la fin : .textslider{ background: rgba(50,50,50,0.5); } 1 Link to comment Share on other sites More sharing options...
bruno aouizerat Posted July 12, 2016 Author Share Posted July 12, 2016 Excellent ! merci beaucoup Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now