Michel
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [MyKnowledgeBase] Bug in css (2 columns) for mobiles ?Hello Guido,
I think it’s due to the quizz plugin. When I display a page with the quizz code the first time, it displays the “default fonts”. But when I refresh the page, the css is activated and I see the good fonts. I’ll contact the quiz plugin developer when I’ll have time. And I’ll be back here if it’s due partly to the template.
Thanks for your answer and thanks for your templates
Forum: Plugins
In reply to: [Link Library] Odd and even lines background colorsMerci.
J’ai testé, mais je n’avais plus de lignes alternées, tout le fond était de la même couleur.
j’ai aussi testé (empiriquement) avec table.linklisttable au lieu de .linklisttable table (je ne suis pas expert en css). Mais ?a n’a pas mieux fonctionné.
Je suis donc revenu au code précédent (juste “table”).Mais ce n’est pas très important. La couleur qui appara?t dans l’admin permet de confirmer que le lien es ben validé. Quand on rédige le texte, tout est gris. Et quand on valide, on voit de la couleur (qui rend la page plus ludique, comme une récompense pour dire “Bravo, le lien est validé”) ??
En tous cas, cette alternance de ligne de couleurs différentes est utile pour les visiteurs qui peuvent mieux lire le contenu quand on n’affiche pas de longues descriptions. Ca rappelle les pages perforées des “listings” (au Québec, on dit des “listages” ?) dans les années 1980.
Forum: Themes and Templates
In reply to: [MyKnowledgeBase] Bug in css (2 columns) for mobiles ?Problem resolved ??
Forum: Themes and Templates
In reply to: [MyKnowledgeBase] Bug in css (2 columns) for mobiles ?Sorry…
I replaced the existing template (v. 7.4) by another directly dowloaded from your website (V. 7.4), but the bug still remains.
Now I think the bug comes from an interference between your template and a quizz plugin. When we first load an article with the quiz plugin, the css is not “activated”. But when we take the quiz, and when we take again the quiz (or other quizzes), the css (of your theme) is activated (author and time disappear, fonts are correct).
Sorry for the first post. I’ll contact the author of the quizz plugin.
Thanks a lot anyway,
Michel
Forum: Plugins
In reply to: [Link Library] Odd and even lines background colorsOn constate que l’alternance des couleurs des lignes des tableaux s’applique aussi pour l’admin. Quand on valide un nouveau lien, hop ! Une ligne sur 2 change de couleur. Ca n’est pas gênant du tout, c’est juste une constatation ??
Forum: Plugins
In reply to: [Link Library] Odd and even lines background colorsOn peut encore aller plus loin si l’on veut alterner le fond sur plusieurs lignes (3, 5…).
https://www.w3schools.com/cssref/sel_nth-child.asp
https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-childMerci pour ces conseils pertinents, Yannick. Pourvu que ce soit utile à d’autres utilisateurs…
Forum: Plugins
In reply to: [Link Library] Random links to “make fun” the directoryLa question est résolue, en espérant que ?a donnera des idées aux autres utilisateurs ??
Forum: Plugins
In reply to: [Link Library] Random links to “make fun” the directoryMerci, ?a marche !
Il faut choisir les bonnes options (Regrouper tous les résultats sans afficher les catégories) et ne pas afficher “New” pour que le bloc soit homogène.
J’ai placé le bloc qui affiche quelques liens au hasard (Library 3) sur la page d’accueil.
https://htags.net/
Cette extension est comme un jeu de Meccano, on peut tout faire. Mais il faut prendre la peine de plonger un peu les mains dans le cambouis et de tester patiemment.Forum: Plugins
In reply to: [Link Library] Odd and even lines background colorsExcellent, ?a marche ! Merci…
J’essaie maintenant d’ajuster le tableau pour qu’il soit agréable à regarder à la fois sur un grand écran et sur un smartphone.
En effet, j’ai créé un annuaire de hashtags, et certains hashtags sont courts (#ratp) et d’autres longs (#grandegaleriedelevolution). Comme on ne peut pas couper en deux un hashtag, la colonne de description diminue de largeur en s’alignant sur le plus long hashtag de la page. Il faut donc jouer sur le “Like” (en ne laissant que le pouce et le nombre), supprimer un mot dans une description et éventuellement tester avec des <br />.
La bonne configuration sera trouvée empiriquement, et il restera toujours des contre-exemples, car la même catégorie peut être utilisée dans plusieurs pages ??En tous cas, cette extension est pleine de ressources quand on prend la peine de comprendre chaque paramètre.
Suggestion : Tu pourrais vendre des “templates” agréables à voir (palettes de couleurs subtiles, dégradés, pop-up…). De cette fa?on, l’extension resterait gratuite pour les gens pressés qui font juste une liste de 10 liens sur un site de 3 pages. Et ceux qui veulent du “luxe” trouveraient normal de payer un peu.
Forum: Plugins
In reply to: [Link Library] Random links to “make fun” the directoryThanks a lot. I’ll try tomorrow. In France it’s 11pm ??
Forum: Plugins
In reply to: [Link Library] Odd and even lines background colorsForum: Plugins
In reply to: [Link Library] Random links to “make fun” the directoryBut I want to display the normal Library AND display a small random links (4 or 5) in a window.
To make what I want, is it necessary to create a “twin” library of Library 1? I already did that tu display only the new links with “Library 2″(on a separate page) AND the normal Library 1.Forum: Plugins
In reply to: [Link Library] Odd and even lines background colorsThanks fro your help… but it’ does not work entirely.
I see on my PC appearing a table with lines en columns after I added <td>, <tr>, etc. It’s OK.
I also see in the css file:
.linktable {
background-color: #f0f0f0;
}
When I change the value of the background-color, it works. It’s OK.I see in the source code:
<table class=’linklisttable’>So, I tried to add:
linklisttable tr:nth-child(even)
{
background-color: #DDD;
}
linklisttable tr:nth-child(odd)
{
background-color: #FFF;
}I tested (instead of linklisttable) linktable, .linktable, table.linklisttable, table.linktable but nothing happens. The background color does not vary.
The same code worked with the links on the top of the page (each line had a different background color):
table tr:nth-child(even)
{
background-color: #DDD;
}
table tr:nth-child(odd)
{
background-color: #FFF;
}I tested with 2 different browsers (Chrome and Firefox) and I disabled the cache on WordPress (WP Optimize plugin).
So, why all these tests did not work?
Forum: Plugins
In reply to: [Link Library] HTML within a category descriptionHello,
I added links inside the description of the categories. Just use the “Visual” editor in WordPress, not the “Text”.
Text mode is useful to copy and paste words or sentences from other pages and to clear formatting from copied text.
Visual mode is useful to create links or formatting without knowing and typing all the “https://…”, “H1, H2”, “Bold, italic…” codes.I also added icons from the media library of WordPress.
With TinyMCE, it’s exactly the same options as WordPress articles or pages creation. I don’ use Gutenberg, but TinyMCE.
If you want to use TinyMCE, install Classic Editor and Advanced Editor Tools plugins.Forum: Plugins
In reply to: [Link Library] Apostrophes dans “Message pour un résultat de recherche vide”OK, merci, tout fonctionne bien maintenant.