Side Bar GIF

Hi there,

I’d like to replace the 2 following GIF file by the current JPG in my blog side bar
My developer did some customization to fix the side bar and i cannot get access from the widget section.
Cheers and thanks

Hello There,

Thanks for writing in! I was able to changed the images with the given gif files. I have duplicated the widget, changed the images and remove the original widgets since there is no way or editing in.

Please check your site now.

Hi there, please remove everything and let as it used to be. All my JS disappeared…
thanks

Hi there,

Unfortunately, it’s not possible to set the previous images back as the login credentials are now invalid. Would you mind providing more information about what images that were there? The images are pulled from media library so the old copies shouldn’t be overwritten (that’s only doable through FTP).

I also checked and the javascript embed code is still there in the widget, and the javascript in your custom section is still intact. Perhaps you already sorted this out and changed the credentials?

Thanks!

Here are the credentials…

Hi there,

The widget’s images are now reverted to your provided URLs.

And does that mean the javascript issues are now okay? I can’t verify it as I’m not sure how it should work and what I should expect but all javascript and embed codes are intact.

Thanks!

Hi again,

The last widget was fixed, there is a JS. From “VOUS SOUHAITEZ UNE FORMATION?”, while scrolling the blog post, it was fixed as here : https://neilpatel.com/blog/startup-marketing-strategies/

Thanks

Hi there,

Would you mind providing more clarification? I don’t see any javascript here https://neilpatel.com/blog/startup-marketing-strategies/ to compare with your current site. Are you referring to the sticky widget? It uses the different form, how about a video recording :slight_smile:

Thanks!

Have a look at the JS in the customizer

/ Fixed Nav
jQuery(document).ready(function ($) {
$(window).scroll(function(){
var scrollTop = 142;
if($(window).scrollTop() >= scrollTop){
$(’.Box’).css({
position : ‘fixed’,
top : ‘0’
});
}
if($(window).scrollTop() < scrollTop){
$(’.Box’).removeAttr(‘style’);
}
})

yes exactly the sticky widget…The last widget was fixed…

Hi there,

Ah, it’s not the javascript problem, but class naming. Please edit your widget and replace this

class="box"

with this

class="Box"

It’s case sensitive and your js selector is .Box.

Thanks!

Please make a screen shot, I don’t see where i can edit…
Tks

Hi there,

Please check this screenshot,

Thanks!

Hi there,

I changed the class, it still doesn’t work…

Cheers and thanks

Hi there,

You have to clear your site’s cache everytime you add some changes, I went ahead and cleared it :slight_smile:

Plus, you have to scroll your page for it to work, that’s how your javascript code is written.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.