This topic has 18 replies, 4 voices, and was last updated 7 years, 10 months ago ago by Rose Tyler
Hi,
I have more Question for this issue,
I’m so afraid that I’m going to destroyed all my site…
I made the files Custom.css | Functions.php | style.css to ad to the child theme folder
Do I need to copy to this folder all PHP files?
Are there any other files I should copy?
Regard,
Orna
Hello,
Please read about the child theme
https://codex.wordpress.org/Child_Themes
When you edit some files in the parent theme and don’t want to lose modifications after theme update you should copy the edited file to the same file structure in the child theme.
Also if you use child theme you need make style changes in style.css of the child theme, you should write only the code for the element you want to modify and don’t copy whole parent style.css.
Besides we always recommend to create backup before each update and modify theme files in the child theme.
Regards,
Rose Tyler.
Hi
Thanks for the quick answer (:
How can I know were exactly start my special code for the element I want to modify in style.css?
I’m working on my site over then year (:
Regard,
Orna
Hello,
Your changes won’t be lost if you modify custom.css file only and not original style.css. If you’re using custom.css of the parent theme, that’s fine. Custom CSS file is used to overwrite original css styles. It’s not recommended to edit original style.css.
You can make changes either in custom.css file or in child style.css.
Only if you made changes in template files instead of child theme then these changes will be lost. That’s why we always recommend to use child theme for all the types of customization.
Regards,
Rose Tyler.
Hi,
I change by FTP the child exactly as appears on https://codex.wordpress.org/Child_Themes
and it look O.K. but there are some issue that are not perfect:
can not see really well
Product page:
1. See other products not seen on the page product.
https://snag.gy/IgokH9.jpg
https://snag.gy/MXZS4W.jpg looks now
2. RTL – Product Page
Originally visibility – https://snag.gy/vkIUyH.jpg
On Child: buttons, price, quantity, icons of social networks have moved to the left
https://snag.gy/MDKx4j.jpg
Homepage:
1. FEATURED POST: The newsletter disappears and instead appears menu of categories, brands, Recent Posts, archive …
In child – https://snag.gy/7ATtXq.jpg
Originally visibility – https://snag.gy/7h9duG.jpg
2. Footer – completely changed
In child – https://snag.gy/pziZnC.jpg
Originally visibility – https://snag.gy/7h9duG.jpg
3. Pages, blog and posts – a problem whit RTL view
The store’s pages must display properly
In child – https://snag.gy/glHjix.jpg | https://snag.gy/gr4l5J.jpg | https://snag.gy/yBJp62.jpg | https://snag.gy/qr2Ci7.jpg seems Btziild
Originally visibility – https://snag.gy/Ld7pBM.jpg
4. Header – word wishlist and heart icon jumped slightly up
https://snag.gy/HM0YIh.jpg
I’ll be grateful to know what I need To add to child folder that it will work perfect
Regard,
Orna
Hello,
1./2. I’ve enabled child theme and don’t see the issue you described. Please clear browser cache and check again.
Home Page:
1. When using child theme you need re-add your widgets in Appearance > Themes.
2. I’ve disabled demo footer in Theme Options > Footer. Please check now.
3. Add this code in child style.css:
.rtl .sidebar {
float: left !important;
}
4. Remove this code in your custom.css file:
.top-bar .wishlist-link {
margin-top: -4px;
}
Best regards,
Jack Richardson.
Hi Jake,
Thanks for your help, I appreciate it (:
1. I steel see that the newsletter is missing and see instead the right menu
https://snag.gy/Hg3pJC.jpg
4. Is o.k. now so I didn’t remove the cod
Regard,
Orna
Hello,
You need check Appearance > Widgets > Newsletter http://prntscr.com/du51zj
Regards,
Rose Tyler.
Hi,
thing that changed:
1. Where do I delete the EN DE ES FR option?
But I like that it will be in the template for the futures
2. Newsletter sidebar on home page is missing
you help me with it before : https://www.8theme.com/topic/home-page-4/
and it was perfect: https://snag.gy/cmFeYr.jpg
3. In Product page the discreption was under the price button
https://snag.gy/UdyTL6.jpg
What do I need to add that all will be back in place as it was?
Regard,
Orna
Hello,
1. You need add empty Text widget in Appearance > Widgets > Place in header top bar area.
2. The widget was missing in Appearance > Widgets > Newsletter area. I’ve re-added it. Please check the page now.
3. I’ve added this code in child functions.php file:
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 21 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 31 );
Now description is under the Add to Cart on single product pages.
Please check.
Best regards,
Jack Richardson.
Hi,
1. look grate, thanks.
2. The widget was missing in Appearance > Widgets > Newsletter area. I’ve re-added it. Please check the page now. – I don’t see any changes not on the site and not on the Widgets aria.
3. I don’t see any changes.
Best regards,
Orna
Hello,
Now I can’t access your WP admin panel because of this notice – “Blocked because of IPS attack”.
2. Go to Appearance > Widgets and add Mailchimp – Subsribe Form widget to your “Newsletter” area.
3. Add this code in functions.php file in your child theme:
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 21 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 31 );
Best regards,
Jack Richardson.
Hi,
2. thanks it’s working
3. I see that the code in functions.php file in my child theme is sexist
but it’s not working on the site.
What I need to do?
Regard,
Orna
Hello,
3. I’ve removed the code due to other request in your other topic.
Best regards,
Jack Richardson.
Hi,
I found the problem.
the element on single product page sidebar efect on the visibility of the page.
when I remove the tags and the brands
the description area got up.
Regard,
Orna
Hello,
So is your problem resolved?
Regards,
Eva Kemp.
Yes, thanks (:
Hello,
You’re welcome!
Glad to hear you resolved the issue.
Regards,
Rose Tyler.
The issue related to '‘Child theme 2’' has been successfully resolved, and the topic is now closed for further responses