Home › Forums › Weaver Xtreme Theme › Seeing CSS above slider on frontend with WXTS 6.2.1
- This topic has 8 replies, 3 voices, and was last updated 2 weeks, 1 day ago by
MMWBAdmin.
-
AuthorPosts
-
March 9, 2023 at 18:32 UTC - Views: 32 #71977
MMWBAdmin
ParticipantHi,
After updating to 6.2.1. today I had CSS code above my slider on homepage (www.mmwb.nl) and in a sidebar widget (on pages and posts). Went back to 6.2.
Slider navigation arrows (on homepage slider) fell back to default (both the Shape and Location)
Regards
March 9, 2023 at 19:19 UTC - Views: 31 #71978MMWBAdmin
ParticipantHi,
you can see the issue on desktop in a dev environment on consumacht.nl. Left sidebar “Nieuwe berichten” (New posts).
Cleared cache, same in Chrome Incognito.
Hope this helps
March 9, 2023 at 19:41 UTC - Views: 29 #71980scrambler
ModeratorThat CSS is inside a text widget
If you go to appearance > widget, can you see the widget and its content?
If so are you saying that widget was not there before the update and appeared after?
Because I dont see how a theme update could create such a widget…
March 9, 2023 at 20:04 UTC - Views: 26 #71981MMWBAdmin
ParticipantHi,
the widget (on posts and pages) is part of the site. It contains:
[wvrx_hide_if device=phone]
[show_slider name=default]
[/wvrx_hide_if]Similar on the homepage (Page with Posts:
[wvrx_hide_if device=phone]
[show_slider name=”homepslider”]
[/wvrx_hide_if]They worked and work OK (see http://www.mmwb.nl) till update 6.2.1
Now they are preceded by CSS code. This CSS code seems connected to the slider:
.atwkslider-default .slides .atwk-slide .slide-image .atwk-title-overlay{left:2px!important;top:2px!important;}
.atwkslider-default .atwk-caption-overlay{right:2px!important;bottom:2px!important;}
.atwkslider-default .slide-content{margin:2px!important;}
.atwkslider-de… etcRegards
March 9, 2023 at 21:12 UTC - Views: 24 #71983scrambler
ModeratorThe sliders have a custom CSS box.
May be with the update the theme is trying to insert the slider CSS inline, but is missing the HTML to encapsulate it.
@weaver can you check if this is a bug. Inserting a show slider that has custom CSS with a shortcode in a widget would result in the CSS being added without the proper HTML tags?March 9, 2023 at 23:02 UTC - Views: 22 #71986Weaver
KeymasterThe code for some of the short codes was revised. It may or may not be possible to regress these changes, but I should be able to find out why.
March 10, 2023 at 00:38 UTC - Views: 19 #71988scrambler
ModeratorI realize your hide_if shortcode is wrong.
Remove the wvrx_ , it should be
[hide_if device=phone]
….
[/hide_if]
You can check the Add-Ons page for details
March 10, 2023 at 01:23 UTC - Views: 14 #71989Weaver
KeymasterThe new version of the Weaver Theme Support plugin broke show_if and hide_if – the bare and the wvrx_ versions. (Note there is an option to change the names to wvrx_shortcodename, and that still works.)
We got reports of some subtle bugs in all the shortcodes, each requiring a unique fix. They’ve all been re-tested now, and I think things will work now. It looks as if the show/hide was the only one broken.
Weaver Xtreme Theme Support should be showing 6.2.3 now in the repository.
Note – the issues were not with the theme, and the version switched to 6.2 to correspond to our new plan to keep our versions current with WP’s version number. Turns out that it has become almost required to release update verisions of themes and plugins to indicate they are compatible with the current WP version. So this seems like a simple solution since everything has to be updated anyway.
March 10, 2023 at 08:25 UTC - Views: 10 #71993MMWBAdmin
ParticipantHi,
Things are much better now 😉
Thanks so much for the swift solution.
-
AuthorPosts
- You must be logged in to reply to this topic.