On this site: https://pizzabypepes.com, if you scroll to the bottom of the page, there is an “Order Online” graphic that’s supposed to be sticky on the bottom of the browser window, using Content Dock. It has worked fine until today when I updated all of my plugins. I have tried disabling several things and it doesn’t seem to have any effect on it. What’s going on here?
Hi @promofuse,
Thanks for reaching out.
I have checked the Content Dock in my local environment and it worked perfectly fine. There might be some different reasons behind your issue, I would like to suggest troubleshoot the following common issue to help us to recognize the reason.
1.Theme Related Issue
2.Plugin Conflict
3.Theme Update related issue
4.CSS/JS Customization
5.Disabling Cache
If you discover that an issue is coming from a custom code or 3rd party plugin, kindly consult with a developer or contact the plugin author. Please note that we do not provide support for custom codes and 3rd party plugins.
If none of this helps, please provide login credentials for your site in a secure note to examine it further, including:
– WordPress Site URL & Login URL
– WordPress Admin username/password
To create a secure note, click the key icon underneath any of your posts.
Thanks
I have tested all of the above, including disabling all plugins, trying a different theme, purging all cache, and clearing all CSS/JS customizations. Everything is up to date. I’ll include login credential in a private note.
Hi @promofuse,
Thank you for the credentials, your X – Content Dock is outdated (you can refer here for the latest compatible version)
Since the automatic update will not trigger on this outdated version, you need to deactivate this and delete.
Then reinstall Content Dock under X > Validation. This should install the latest version.
Same thing with the X – Smooth Scroll plugin.
Remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.
Let us know how it goes,
Cheers!
Thank you. That helped the sticky issue. But now the image is spaced off the bottom edge considerably. I need it to hug the very bottom of the screen. Also, I don’t want it to do that slide over animation. I just need it to pop-up and stay where I put it. Along with that, I’d like to tweak the close X button some. I have some CSS code for “.x-content-dock”, but it doesn’t seem to be doing anything.
If I’m being honest, I feel like this plugin needs a lot of work. It feels VERY dated. It needs a lot more controls in the plugin settings without having to resort to CSS for simple customizations like this.
Hello @promofuse,
The space around the image is the content dock padding. To make sure that your image will display and stick to the bottom of the page without any space, you will have to do the following:
1.) Go to Plugins > Plugin Editor.
2.) On the left panel, select the “Content Dock” plugin
3.) Browse to the styles.php file in the /functions/enqueue/
folder
4.) Go to the Line 102 and change the padding from 30
to 0
pixels.
5.) Save your changes by hitting the “Update File” button
6.) Reload the page and check your content dock.
The changes made in the code above can be overwritten when there is a Content Dock plugin update. Thus, you will have to maintain the code above to ensure that it will always work.
Best Regards.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.