-
AuthorPosts
-
November 2, 2022 at 12:05 pm #1371044
Hi,
Enfold 5.2.1
With the 6.1 WP update, footer and links are underlined without setting changes.
Even if I add the following CSS code:
—
#footer #socket #widgets a {
text-decoration: none;
color: #ffffff;
}
—
How to return to the previous settings for these links?. It’s less pretty since the update.
Best regards.November 2, 2022 at 12:19 pm #1371046Hi,
I am facing the same problem :-( I found this inline CSS:a:where(:not(.wp-element-button)) { text-decoration:underline; }
Regards,
BerndNovember 2, 2022 at 3:59 pm #1371089Hi,
Please try this in Quick CSS:
a:where(:not(.wp-element-button)) { text-decoration: none; }
Best regards,
RikardNovember 2, 2022 at 5:18 pm #1371101It works, problem solved
Thank you Rikard!
Best regards.November 2, 2022 at 5:51 pm #1371118Hi,
Great, I’m glad that we could help. I’m not sure if this is a general problem yet though, since I couldn’t reproduce it on a test installation. If it should be a general problem, then we’ll correct it in the next version of the theme.
Best regards,
RikardNovember 3, 2022 at 10:33 am #1371194Hi Rikard,
Unfortunately the css-snippet isn’t a useful solution for us. Because we have much more than 100 client-websites with Enfold. And we’re facing this issue on many of this websites since the last WordPress update.It seems, that the css-snippet
a:where(:not(.wp-element-button)) { text-decoration:underline; }
is placed inline by one of the javascripts. But I don’t know exactly from which JS and why.
Regards,
BerndNovember 3, 2022 at 11:39 am #1371203Hi Bernd,
The inline style is added by WordPress (specifically Gutenberg).
You can see it mentioned here: https://github.com/WordPress/gutenberg/issues/37071Best regards,
NikkoNovember 3, 2022 at 11:43 am #1371205Hi Nikko,
Thanks, but we use the Advanced Layout Editor from Enfold on our sites, not Gutenberg.
Regards,
BerndNovember 3, 2022 at 3:07 pm #1371243Hi everyone,
I found this other topic to this issue: https://kriesi.at/support/topic/wordpress-6-1-css-fixes/ :-)
For me it’s ok, if this issue will be solved in the next Enfold Update. This topic can be closed.
Regards,
BerndNovember 3, 2022 at 3:23 pm #1371246Hi Bernd,
CSS added in WP 6.1 targets all links that does not have “wp-element-button” class. So please add following code to bottom of Quick CSS field in Enfold theme options > General Styling
a:where(:not(.wp-element-button)) { text-decoration: none; }
Best regards,
YigitNovember 3, 2022 at 3:58 pm #1371250Hi Yigit,
As I already wrote, it’s ok for me, to wait for the next Enfold Update. Because I have more than 150 websites with Enfold…
Regards,
BerndNovember 3, 2022 at 4:21 pm #1371254 -
AuthorPosts
- You must be logged in to reply to this topic.