[Skip to main content](#vessel-content)

#   Comment justifier le label et le custom text d'un item?

##

- **[guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")**
- [![guillenphoto's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/73952-guillenphoto "View guillenphoto's Profile") Topic Author
- [ Offline](/forum/user/73952-guillenphoto)

Less More

- Posts: 403
- Thank you received: 80
-
-

3 years 3 months ago [\#353906](#353906) by [guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")  *[Comment justifier le label et le custom text d'un item?](/forum/5-support-en-francais-french-support-/906803-comment-justifier-le-label-et-le-custom-text-dun-item#353906 "Bonjour,  je voudrai s'il est possible de justifier le label et le custom text d'un champ de type custom&#95;field? Si la réponse est oui, comment faire?  Par exemple, sur cette page   www.guillenphoto.com/fr/les-photos-d-art...ellowstone-97-7.html , les textes sont tronqués de manière étrange. Je voudrai les justfier.  Merci par avance pour votre aide.  SIncèrement, A. Guillen")* was created by *[guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")*

Bonjour,

je voudrai s'il est possible de justifier le label et le custom text d'un champ de type custom_field?
Si la réponse est oui, comment faire?

Par exemple, sur cette page [ www.guillenphoto.com/fr/les-photos-d-art...ellowstone-97-7.html](https://www.guillenphoto.com/fr/les-photos-d-art-de-amar-guillen/bison-au-yellowstone-97-7.html), les textes sont tronqués de manière étrange. Je voudrai les justfier.

Merci par avance pour votre aide.

SIncèrement,
A. Guillen

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA2ODAzLWNvbW1lbnQtanVzdGlmaWVyLWxlLWxhYmVsLWV0LWxlLWN1c3RvbS10ZXh0LWR1bi1pdGVtP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

3 years 3 months ago -  3 years 3 months ago [\#353919](#353919) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Comment justifier le label et le custom text d'un item?](/forum/5-support-en-francais-french-support-/906803-comment-justifier-le-label-et-le-custom-text-dun-item#353919 "Bonjour,  je voudrai s'il est possible de justifier le label et le custom text d'un champ de type custom&#95;field? Si la réponse est oui, comment faire?  Par exemple, sur cette page   www.guillenphoto.com/fr/les-photos-d-art...ellowstone-97-7.html , les textes sont tronqués de manière étrange. Je voudrai les justfier.  Merci par avance pour votre aide.  SIncèrement, A. Guillen")*

Bonjour,

**Via du Css vous pouvez faire cela, suivez moi étape par étape :
1.** Apprenez **[ ici](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)** comment ajouter votre propre custom Css.
**2.** Créez votre command css en suivant ce schéma : Code:

.selector_with_html_class { command: value }

**3.** Votre Class Html peut être obtenue en utilisant l'outil inspecteur de votre navigateur pour explorer votre Html.
**=&gt;** Pointer votre element puis **click-droit** =&gt;**inspect** (ou inspector tool)
Une nouvelle fenêtre va s'ouvrir pour vous permettre de voir l'Html
**4.** Votre css ressembleraient à ça : Code:

.Html_class { word-break: break-word; text-align: center; }

En espérant que cela vous aide à obtenir ce dont vous avez besoin.
Cordialement

Last edit: 3 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA2ODAzLWNvbW1lbnQtanVzdGlmaWVyLWxlLWxhYmVsLWV0LWxlLWN1c3RvbS10ZXh0LWR1bi1pdGVtP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")**
- [![guillenphoto's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/73952-guillenphoto "View guillenphoto's Profile") Topic Author
- [ Offline](/forum/user/73952-guillenphoto)

Less More

- Posts: 403
- Thank you received: 80
-
-

3 years 3 months ago -  3 years 3 months ago [\#353927](#353927) by [guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")  Replied by *[guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")* on topic *[Comment justifier le label et le custom text d'un item?](/forum/5-support-en-francais-french-support-/906803-comment-justifier-le-label-et-le-custom-text-dun-item#353927 "Bonjour,  je voudrai s'il est possible de justifier le label et le custom text d'un champ de type custom&#95;field? Si la réponse est oui, comment faire?  Par exemple, sur cette page   www.guillenphoto.com/fr/les-photos-d-art...ellowstone-97-7.html , les textes sont tronqués de manière étrange. Je voudrai les justfier.  Merci par avance pour votre aide.  SIncèrement, A. Guillen")*

Bonjour Philipp,

je vous remercie pour votre réponse.

Vous m'aviez déjà indiqué cette méthode. J'ai essayé plusieurs heures pendant le weekend. En vain.
C'est pour cette raison que je vous ai contacté.

Je vous ai attaché une copie de mon écran.

J'ai trouvé la propriété qui me semble la plus parlante : hikashop_product_custom_item_name

Ensuite j'ai ajouté comme css :

.hikashop_product_custom_item_name {
text-align: justify;
}

Mais rien n'y fait. Je n'arrive pas à changer le format du texte des labels.

Pouvez-vous me dire ce qui ne va pas?

Merci par avance
A. Guillen

- [ ![Screenshot2023-07-31073636.jpg](/forum/attachment/57502) ](/forum/attachment/57502 "...7-31073636.jpg") [ ](/forum/attachment/57502?download=1 "...7-31073636.jpg")

Last edit: 3 years 3 months ago by [guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA2ODAzLWNvbW1lbnQtanVzdGlmaWVyLWxlLWxhYmVsLWV0LWxlLWN1c3RvbS10ZXh0LWR1bi1pdGVtP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")**
- [![guillenphoto's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/73952-guillenphoto "View guillenphoto's Profile") Topic Author
- [ Offline](/forum/user/73952-guillenphoto)

Less More

- Posts: 403
- Thank you received: 80
-
-

3 years 3 months ago [\#353928](#353928) by [guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")  Replied by *[guillenphoto](/forum/user/73952-guillenphoto "View guillenphoto's Profile")* on topic *[Comment justifier le label et le custom text d'un item?](/forum/5-support-en-francais-french-support-/906803-comment-justifier-le-label-et-le-custom-text-dun-item#353928 "Bonjour,  je voudrai s'il est possible de justifier le label et le custom text d'un champ de type custom&#95;field? Si la réponse est oui, comment faire?  Par exemple, sur cette page   www.guillenphoto.com/fr/les-photos-d-art...ellowstone-97-7.html , les textes sont tronqués de manière étrange. Je voudrai les justfier.  Merci par avance pour votre aide.  SIncèrement, A. Guillen")*

Bonjour Philipp,

en vous relisant, j'ai réalisé que je n'ai pas ajouté : word-break: break-word;

Maintenant tout fonctionne correctement.

Merci pour votre aide.

Sincèrement,
A. Guillen

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA2ODAzLWNvbW1lbnQtanVzdGlmaWVyLWxlLWxhYmVsLWV0LWxlLWN1c3RvbS10ZXh0LWR1bi1pdGVtP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
