Quantcast
Channel: Opinion: Shopify Community - Shopify Apps
Viewing all articles
Browse latest Browse all 11091

Mailchimp css caching issue w/ shopify by Kimball

$
0
0

Hi again,

I'm setting up a mailchimp subscription popup for my front page.  When I first got the code and plugged it in I had to play around with it b/c it was causing some pictures to not load.  So I moved it to another spot in my theme.liquid.  This new spot allows everything to load and work fine except the issue is that the popup is too high on the page and the "close" button above the popup is partially cut off from the page.  

My thought was to just add some css to move it down.  I did that and it worked the first time, but it stopped working after that.  Every time I make a change to the css, the popup loads correctly the first time, but reverts back to its original spot the second time.  After looking around I have found that the issue has to do with css caching.  The mailchimp popup automatically caches so that site visitors do not see it every time they hit the home page, and it does the same with any css that you may add to it in your theme.scss.   

I have messed around with a bunch of solutions but I cannot seem to find anyway to prevent the caching of the css so that my popup will always load nicely in the middle of the page.  

Anyone have any workarounds?

 

Thanks


Viewing all articles
Browse latest Browse all 11091

Trending Articles