Tagged: child theme
-
AuthorPosts
-
August 29, 2018 at 5:54 pm #1003226
I’m taking over management for a WP site: https://www.gemsofwisdomconsulting.com/ which was built without using a child theme. I set one up and imported setting from the parent, but not everything is the same, which means that the previous person must have done some customizing outside of the UI. Unfortunately, it’s not readily apparent exactly what was done.
Any tips on a simple way to ensure I get the changes without blindly copying over a lot of things that belong to the parent theme?
August 29, 2018 at 6:17 pm #1003233Hi,
It doesn’t look like any external .css files have been used then linked to.
It’s best practice to add any external resources to the header and none have been. They’d appear around line 14.If you right click and go to view source… all that crap at the top from line 33 to 97 are the various resources loading. They all look standard.
If you go to line 117 there is some css there that looks like this
#top #header_main > .container, #top #header_main > .container .main_menu .av-main-nav > li > a, #top #header_main #menu-item-shop .cart_dropdown_link{ height:102px; line-height: 102px; } .html_top_nav_header .av-logo-container{ height:102px; } .html_header_top.html_header_sticky #top #wrap_all #main{ padding-top:152px; }
Has that been copied over do you know?
There also hasn’t been any css added to the custom.css file (line 91)
Any clues / hints as to what looks different? That might help narrow things down
Thanks
TJ
August 29, 2018 at 9:17 pm #1003259I haven’t poked into every last nook, but there are simple things that don’t move, like default fonts, menu styling, and background color for headers and footers.
Here’s a shot of the child home page:
http://www.gemsofwisdomconsulting.com/web/wp-content/uploads/2018/08/child.jpgAugust 30, 2018 at 1:21 pm #1003556Hi stfreeman,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Can you please be more specific about the things that did not transfer?
Best regards,
VictoriaAugust 30, 2018 at 1:44 pm #1003573Not giving you admin access without knowing what you intend to do with the access. Looking is fine, making changes to the live site is not, not without discussing them first.
As far as what didn’t transfer, start by looking at the simple things visible by comparing the live site to the image of the site using the child theme I posted earlier in the thread. If we know why those don’t work, then mayne any others that haven’t been noticed yet will also be solved (if we’re lucky).
Thanks,
August 30, 2018 at 1:46 pm #1003574More background: the theme was at v4.01 when I got it. For some reason, the child theme did not work with the site (parent not found error) until after I registered for support and upgraded to v4.4.
August 30, 2018 at 1:48 pm #1003575Another thing that didn’t work: adding a favicon via the Enfold UI. I had to add it via the Customizer.
August 30, 2018 at 2:31 pm #1003608And the dashboard says there’s one plugin that needs an update, but none actually do. Probably not all that important, but just in case…
August 30, 2018 at 2:42 pm #1003619It might be fixed. I activated the child theme, changed the logo background color (which was correct, but not applied) to something else, changed it back, and all appeared well. Would be nice to know why that worked, but hopefully all is good now.
August 30, 2018 at 10:39 pm #1003822OK – later in the afternoon, the site starting failing with the standard not useful “Server Error – contact your admin” page. I managed to get access enough to switch back to the Enfold theme and all appears to be well, but SOMETHING is wrong if we can’t run a simple child theme.
Suggestions are welcome.
August 31, 2018 at 9:29 am #1003973Hi stfreeman,
Can you please check server log for error?
Here is how to find it: http://snapcreek.com/blog/wordpress-error-log-friend/
Best regards,
VictoriaAugust 31, 2018 at 4:29 pm #1004158Child theme is running with debug on now. Feel free to hit the site. No errors yet…
September 2, 2018 at 7:29 am #1004582Hi,
1. Please check this link and import the main theme settings to child theme https://kriesi.at/documentation/enfold/initial-theme-setup/#importexport-theme-settings-to-child-theme
If the settings are imported successfully first thing you should see that the logo image and favicons are also imported.
Perform the below steps when the main theme is active:
2. Go to Enfold > General Styling > Quick CSS and backup the CSS code if any (This code should automatically be imported in step 1).
3. Go to Appearance > Editor > functions.php and compare it with a fresh copy downloaded from themeforest to see if there are any extra code added or any external CSS or JS is enqueued.
4. Go to enfold\css\custom.css and check if any custom code is added here.
We have covered all common places where one can add code to customize the theme. Beyond this if the previous person has edited any php files there is no way for us to know that. Please get in touch with the previous person if possible and get the file list which was edited so you can easily move it to child theme.
Best regards,
VinaySeptember 2, 2018 at 12:49 pm #1004618Seems OK now. Don’t know why the import wasn’t smooth. The crashes may have been because of a cache setting.
September 2, 2018 at 12:59 pm #1004624Hi,
That’s great! Yes, Cache could be one of the reason as well.
To clear cache you can try the below steps:
1. Disable “merging and compression” for CSS and JS files from Enfold > Performance.
2. If a caching plugin is installed check the plugin settings and clear the cache and deactivate the plugins for testing purpose.
3. Hard refresh by pressing Ctrl + Shift + F5 on your browser or press the F12 key to open chrome dev tools and right click on the refresh button and select “Empty Cache and Hard Reload”.
We will close this ticket now if you have any issue please open a new ticket.
Best regards,
Vinay -
AuthorPosts
- The topic ‘Find unimported changes for child theme’ is closed to new replies.