Forum Replies Created
-
AuthorPosts
-
It is ugly because I now have to type the name of the Text in the menu twice (shown text and title). And if I change it, I have to remember to change it twice.
Also when translating fields (e.g. the title of a menu element) with WPML, html tags are being escaped and shown as text in the translation. So this method unfortunately won’t work with my use case.I just tested the my problem on a fresh installation of wordpress without Enfold. There the custom css class is being printed in widgets, too. So I figured this must be specific to Enfold. On the other hand through some googling I found one case where a user of Enfold seemed to be able to use custom css classes in a widget (like I want) successfully:https://kriesi.at/support/topic/title-attribute-in-menu/
Are you sure that there is no solution to the missing css class?
Cheers,
Christoph- This reply was modified 6 years, 8 months ago by Christoph.
First of all thanks for your time.
But tbh that’s a pretty ugly workaround.Do you know why the custom css classes are stripped, e.g. is it Enfold or WordPress that’s responsible?
And if it is done by an Enfold function, where can I find it to modify it to my needs?Cheers,
ChristophPlease look in the private content section.
Hi Victoria,
I’m sorry if my previous posts weren’t clear. (English isn’t my native language. Deutsch wäre eine Alternative ;-) )
I hope to clear it up now:For testing purposes I used the same(!) menu in the header:
(The header is only visible when scrolled down)and in the menu widget inside the footer:
Am I doing something wrong?
I tried placing the widget inside a custom widget area, but with the same result.Cheers,
ChristophYes exactly that is my problem. The menu in the footer is the same as in the header (where the custom css is correctly displayed).
The li element has the classes “fas fa-home” addedThe menu widget is located in the rightmost footer column. (Linktext “Start”).
TestsiteFebruary 27, 2018 at 11:17 pm in reply to: Fallback for accordion slider – no entry in portfolio category #918712Alright, that’s what I need to know. There are definitely more important things on your feature request site than what I want.
Thanks for the info!
Hi Ismael,
do you know about transifex?
This online platform would make translation easier for everyone as there is no downloading and uploading involved.Cheers,
Christoph -
AuthorPosts