WebSite X5Help Center

 
Christian Linsenmaier
Christian Linsenmaier
User

Titres de photos d'une galerie  fr

Auteur : Christian Linsenmaier
Visité 1634, Followers 1, Partagé 0  

Bonjour à tous,

Je fais une refonte de mon site et j'ai créé dans un 1er temps un projet test.

Je suis confronté au problème suivant : j'ai créé une petite galerie de 3 images et j'ai donné un titre à la 1ère image (voir partie gauche de la copie d'écran ci-jointe). Lorsque je fais un aperçu du site, j'obtiens un titre en caractères blancs sur fonds gris (voir partie droite de la copie d'écran ci-jointe). J'ai vérifié tous mes réglages de modèle, page, style, propriété de la page  etc et je n'ai nulle part un tel paramétrage. Comment puis-je effectuer les réglages me permettant d'avoir un titre d'image en caractères noirs sur fonds blanc.

Merci d'avance pour votre aide.

Chris

Posté le
10 RéPONSES - 1 UTILES
JiPeR 48
JiPeR 48
Moderator

Salut Christian,

A ma connaissance il n'y a pas de possibilité de personnaliser la barre de description des photos de la galerie. A une certaine époque nous étions même obligés d'utiliser du code HTML pour centrer le texte !

On peut toujours utiliser cette méthode... Voir ma copie écran 1 jointe (couleur Orange et taille du texte)... mais la couleur grise de la bande persiste. Il est peut-être possible de forcer la couleur du fond à l'aide d'un code (background ?), mais je ne suis pas très calé en codage.

Resterait la solution d'insérer directement la légende sur le bas de la photo avec un logiciel photos (copie écran 2) mais gros boulot en cas de quantité...

Nous avions discuté de cette fameuse description il y a pas mal de temps déjà, mais je n'arrive pas à retrouver le sujet cry

@+, J.P.

Lire plus
Posté le de JiPeR 48
Christian Linsenmaier
Christian Linsenmaier
User
Auteur

Meri beaucoup Jiper. Le problème à l'époque était le centrage lequel était résolu par la mention <center> avant le titre. Par contre, le problème de couleur de fonds n'existait pas. Et maintenant cela me pose un très gros probblème. Je ne suis pas connaisseur en codage et sans solution à ce problème il me faudra envisager un changement de logiciel. En effet, un reportage photo sport peut aller aisément jusqu'à 300 photos et remettre les titres qui existent pourtant déjà dans les métadonnées prend du temps alors je n'imagine même pas les insérer sous la photo avec un logiciel photo. En tout cas merci beaucoup pour ton aide.

Chris

Lire plus
Posté le de Christian Linsenmaier
 lemonsong  
 lemonsong  
User

Hi Christian,

you can insert a CSS code, e.g.:

<style>
#imObjectGallery_03_description {
    background-color:white !important;
    color:black !important;
}
</style>

You can see a old demo:

http://lemonsong.altervista.org/test_gallery_description/

Insert it in Étape 3 - Plan > Fenêtre Propriétés de la page > Code personnalisé: Avant la balise de fermeture </HEAD>

You need change the red values.
Look source code of page for identify the id number of your gallery.

@Jiper 85
Help me for translate, please :)

Merci beaucoup!

Lire plus
Posté le de  lemonsong  
JiPeR 48
JiPeR 48
Moderator

Hi Lemonsong,

Nice work ... cool

I think Christian should easily understand the method. Otherwise he will ask for explanations if necessary. Thank you for your help.

@+, J.P.


Lire plus
Posté le de JiPeR 48
Christian Linsenmaier
Christian Linsenmaier
User
Auteur

Hello lemonsong,

Thank you very much for your help. You suggest to look source code of page to know the id number to use in the CSS code. How can I see this source code ?

Many thanks

Chris

Lire plus
Posté le de Christian Linsenmaier
 lemonsong  
 lemonsong  
User

Hi Christian,

you can use the WebSite X5's Preview, e.g.:


click right mouse button and click on last option (n. 1 in attachment)
click the icon to activate the inspector (n. 2 in attachment)
click on description gallery and look the id number (n. 3 in attachment)

@Jiper

Thank you smile

Lire plus
Posté le de  lemonsong  
Christian Linsenmaier
Christian Linsenmaier
User
Auteur

Dear Lemonsong,

I thank you very much for your help. I tried to do like you explained but I did not really get what I need.

For example, I send here attached a copy of a screen of my internet site. Actually the background is black and the text is white and I will change it to have the background white and the text black.

I really do not understand why it is now with the new version of website so complicate to do such a simple thing and I have to say that I'm desappointed about that. I lose a lot of time for just having a title under my photos.

Best regards

Chris

Lire plus
Posté le de Christian Linsenmaier
 lemonsong  
 lemonsong  
User

Hi Christian (sorry for my bad English),

in your first screenshot I see a gallery object but in your last screenshoot I see an enlarged image in ShowBox.

I'm sorry but I don't understand what you looking for.

From online guide:

Vous pouvez entièrement personnaliser l'aspect de la fenêtre ShowBox à l'aide des options présentes à l'Etape 2 dans la section Boîte d'affichage de la fenêtre Boîte d'affichage, Info-bulle et E-mail.

http://help.websitex5.com/fr/v13/pro/stile_showbox.htm

Lire plus
Posté le de  lemonsong  
Christian Linsenmaier
Christian Linsenmaier
User
Auteur

Thank you Lemonsong.

in both cases, it is a gallery and I put a description under each image oft the gallery.If you want, you can see that in my internet site puissancesport.com

I made changes like in your message with the help of the online guide but this did not have any effect.

Kind regards

Lire plus
Posté le de Christian Linsenmaier
 lemonsong  
 lemonsong  
User

Hi Christian,

sure it's a gallery and you wrote:

Christian Linsenmaier
For example, I send here attached a copy of a screen of my internet site. Actually the background is black and the text is white and I will change it to have the background white and the text black.


If you want this (see attachement) I confirm my last answer: http://help.websitex5.com/fr/v13/pro/stile_showbox.htm

Lire plus
Posté le de  lemonsong