Home>Support>Dynamic Margins Not Rendering After Refresh

Dynamic Margins Not Rendering After Refresh

Hi There,

I developed a website under a sub-directory. Upon finalized of the website i moved it to the root folder and set it to use the domain name http://www.momentsmilestones.com/ (VS http://www.momentsmilestones.com/dev2016). I updated the database URLs with vevlet blues, which normally works just fine.

For some reason now that the website is in root directory and/or using the shorter domain name (http://www.momentsmilestones.com), the margins that are dynamically set for any non-streched panels are not rendering after i reload a page using Page Builder. If i make one setting change or page change to the site, then reload, the dynamic margins works again once, then when i reload again, the dynamic margins disappear.

This problem does not occur in Chrome for me, but it does for my client. For me, this problem occurs in Edge and Firefox.

===

In Chrome div with classes, “siteorigin-panels-stretch panel-row-style,” has a margin-left of -504px.
In FF or Edge, that div plain old has not dynamic margins or paddings.

Here is the page looking as it should:
http://www.momentsmilestones.com/qa2017/weddings/

Here is the page not looking as it should under the proper domain name:
http://www.momentsmilestones.com/weddings/

As a quick fix , i took off the max-width of 900px for the “panel-grid”. This makes the full stretched panels look lesss weird but then makes the confined panels look too wide.

What advice can you offer to help get the dynamic margins back in? I am stumped.

I appreciate your time reading this.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 6 months ago ellice909

    I finally figured out the issue and wanted to post it if anyone else runs into the same problem.

    It turns out the host the client was using (BlueHost), had implemented a ‘required plug-in’ on the WordPress website. It was part of a mass change to a lot of their sites to improve performance on shard hosting websites. The required plug-in had some really hard caching. I initially thought it was caching made in the control panel of the hosting account.

    So if you have this problem with margin issues, check and see if you have server caching in your hosting control panel or in WordPress. If you have it as a required plug-in, you’ll need to delete the plug-in via FTP and modify your .htacess file to stop requiring the caching plug-in. Finally, after that i could get the dynamic margins to consistently render.

  2. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Ellice909

    We’re very sorry for missing this thread! I’m glad you were able to resolve this issue. I’m, sorry I wasn’t able to be of assistance this time. Please be sure to post another thread if you have any other questions.

    For other people reading this thread, the cache plugin installed by Bluehost is called Endurance Cache. I would recommend avoiding it until some of the issues associated with it are more ironed out. You can disable it by navigating to WP AdminPluginsInstalled Plugins and clicking Must Use.

    Click Deactivate Plugin under Endurance cache to disable it. You can also clear it to forcefully “refresh” the cached data.

    For reference, I personally recommend WP Super Cache.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More