- This topic has 5 replies, 2 voices, and was last updated 4 years ago by
Tom.
-
AuthorPosts
-
May 25, 2019 at 9:12 pm #910925
Eric
Hey guys, I ran into a weird problem while migrating my GeneratePress installation…
I am currently building out several similar websites all using a similar WP setup and I’ve used GeneratePress as the theme for these sites. I started off with a single domain and spent several hours tweaking all the settings and customization I wanted, then I packed it all into a migration plugin (All in One WP Migration) and started deploying it on different domains. Everything seems to be working pretty well do far, save for a few times where I had to manually reinstall my GP Premium plugin and license, and I can skip the several hours it takes to install all the plugins manually or pretty up the GP settings to taste, so it has been a great timesaver.
Unfortunately, I recently happened to be browsing my site through Firefox and noticed an issue with the Retina logo. Please check this out:
https://drive.google.com/open?id=1dM8YCr46bi10u85e1qSUEDwDvedQ3Xtu
As you can see in the image, the NEW site is still pulling and sourcing the original template site for the Retina logo. I’ve tried messing around in the backend and I even added a new retina logo into WP Customizer but it still won’t change. It insists on serving up this “2x” image, instead of the one I’ve set for that new site.
What am I missing here? If I set a new retina logo, but it has the same dimensions as the original site logo, it is not counted and won’t replace the original one from my migration template? When is this old logo served up instead of the new one? What circumstances trigger the “2x” logo vs a standard regular retina logo and site logo? How do I replace the “2x” logo so these new sites are not all pulling images from the old template site?
Sorry if the answer is super obvious, I would never have even seen the old logo if I hadn’t tested it on a different browser. On Chrome the new sites all look as expected, but for some reason this old retina logo won’t budge on Firefox…
Thanks for all your help…
May 26, 2019 at 9:01 am #911328Tom
Lead DeveloperLead DeveloperHi there,
The 2x logo comes from the “Retina Logo” option in Customize > Site Identity. The Customizer stores the URL in the database, so a plugin like All In One Migration should replace that URL.
If you delete the logo and save, does the 2x logo go away? Then what happens if you re-add it? Does it use the correct URL?
May 26, 2019 at 9:48 am #911373Eric
No unfortunately it doesn’t work if I save something in it’s place. It actually doesn’t show anything as loaded for Retina logo in the Customizer, and even when I upload the site logo image and save/publish the settings with it instead, it still displays the original logo from the first template site.
Here is how it looks on the backend – https://pasteboard.co/Igw6lfk.png
In the first image I sent in my original forum post, the HTML code for the Retina logo “1x” is set correctly to the new domain, but the Retina logo “2x” code is still pulling from the old domain. I can’t see anyplace in the Customizer that sets 1x vs 2x retina though… Does the dimensions have anything to do with it? I am just loading the same exact image in both site logo and retina logo fields in WP Customizer.
May 26, 2019 at 3:21 pm #911559Tom
Lead DeveloperLead DeveloperDo you have any Header Elements added to the site?: https://docs.generatepress.com/article/header-element-overview/#site-header
They allow you to overwrite the logos, so it’s possible the old URL is set in there.
If not, do you have any custom functions added to the site?
May 26, 2019 at 7:53 pm #911648Eric
I have a few hook elements displaying in the header but nothing other than Google Analytics and Heatmap code. There are no specific “Header Elements” created on the site. All other customization is being controlled via WP Customizer.
I’ve got a bit of CSS to move the site logo around the title text, but only something you guys posted here on the forum before:
@media (min-width:769px) { .site-branding { display: inline-block; } .site-logo { float: left; margin-right: 20px;
I’ve also got the ACF PHP Hooks you guys helped me out with a few weeks ago displaying AFTER CONTENT, but other than that there are no particularly special custom code installations or anything.
May 27, 2019 at 8:50 am #912274Tom
Lead DeveloperLead DeveloperAny chance you can send me temporary admin login details so I can take a closer look?: https://generatepress.com/contact
Let me know 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.