Home Forums WoodMart – Premium Template Add languages switcher to sticky header

This topic contains 1 reply, has 2 voices, and was last updated by Artem Temos Artem Temos 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #119876


    in block “.wpml-ls-statics-shortcode_actions” I have swither.
    I tried this code
    $(‘.wpml-ls-statics-shortcode_actions’).clone().appendTo(‘body .whb-sticky-header .container’);
    But its not work, I think that .whb-sticky-header created dynamically. Have you any event for this?



    Yes, if you are using our sticky header “clone” it is created dynamically. Unfortunately, it doesn’t have any event. You can try to set some timeout after the page is loaded to be able to access it with JS. https://www.w3schools.com/jsref/met_win_settimeout.asp


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.