WebSite X5Help Center

 
Andrea M.
Andrea M.
User

ACCORDION TEXT GIUSTIFICATO  it

Author: Andrea M.
Visited 1100, Followers 2, Shared 0  

Buon giorno,

faccio riferimento al post https://helpcenter.websitex5.com/en/post/228857 che KolAsim ha risolto con questa risposta:

il codice lì indicato riferito al tuo oggetto andrebbe usato in questo modo:

<style>
#pluginAppObj_262_03_accordion_container.styleI .accordion_el .accordion_desc {
text-align: justify;
}
</style>

Ho provato anch'io e funziona, ma il mio problema è questo: vorrei utilizzare diversi oggetti Accordion Text nella stessa pagina per simulare "leggi di più"; c'è un modo veloce per trovare i nomi che sono stati dati agli oggetti "#pluginAppObj_xxx_yy"? 

Grazie.

Posted on the
5 ANSWERS - 1 CORRECT
Mauro B.
Mauro B.
User

Se usi Opera come browser vai in menu --> sviluppo --> strumenti per gli sviluppatori e cerchi l'ggetto che ti interessa

Ciao

Read more
Posted on the from Mauro B.
Giancarlo B.
Giancarlo B.
User
Best User of the month IT

posta la pagina online con gli oggetti che vuoi customizzare...

Read more
Posted on the from Giancarlo B.
Giancarlo B.
Giancarlo B.
User
Best User of the month IT

Su Crome utilizzi lo Strumenti per Sviluppatori CRTL + Maiuscola + I

Read more
Posted on the from Giancarlo B.
 lemonsong  
 lemonsong  
User

@Andrea

Potresti usare un CSS tipo questo:

<style>
div[id$="_accordion_container"] .accordion_desc {
  text-align:justify !important;
}
</style>

Vale per tutti gli oggetti accordion presenti nella pagina così non avrai bisogno di identificare ogni singolo id

Read more
Posted on the from  lemonsong  
Andrea M.
Andrea M.
User
Author

Grazie a tutti. Ritengo che la soluzione più adatta a me è quella proposta da lemonsong.

Read more
Posted on the from Andrea M.