Home › Forums › Pro Themes › Yummy Pro › Changes to Testimonial Page header
- This topic has 9 replies, 2 voices, and was last updated 7 years, 1 month ago by wensolutions.
-
AuthorPosts
-
October 12, 2017 at 10:08 am #555311maryannemParticipant
Hi. I’m updating this theme for a friend who bought it – but I notice that when I click into a testimonial, it is spelt incorrectly on the header (and actually I want to just change the title entirely) – how do I change it. It currently says “TESTIOMONIAL” – http://hyggeteepee.com/tp-philosophy-testi/leeds-festival/
Thanks
MaryanneOctober 12, 2017 at 11:51 pm #55593wensolutionsKeymasterHello @1maryannem,
Thank you for letting us know about the issue .
To change the title you have to go through the child theme .
You can activate the child theme using the plugin given below :
https://wordpress.org/plugins/wp-child-theme-generator/
After activating the child theme in your child theme functions.php file paste below given code .
https://gist.github.com/anonymous/84ccd3879a18fc51ee1b8da12d05c8ab
Noe change the title as per you wish by changing the text in Line No : 28 .
Hope this helps .
If you need any help further then please let us know .
Best Regards!!
October 13, 2017 at 3:22 am #55618wensolutionsKeymasterHello @1maryannem,
Please ignore above process . The update of the theme has been released fixing the issue of spelling mistake .
So update your theme to the latest version and verify the issue .
If there are any more quries then please feel free to post them .
Best Regards!!
October 13, 2017 at 7:28 am #556361maryannemParticipantThanks so much – will I need to download it from you again or will it give me the option via wordpress to update it?
October 13, 2017 at 7:47 am #556391maryannemParticipantAlso. How do I change that title – even though it will now be spelt correctly when I update the theme – I want to change it. I can do it, using the child theme and your instructions above, however I would have to go in and make all the changes in the customiser again. Is there a quicker way to change it in the current theme?
October 13, 2017 at 7:57 am #55641wensolutionsKeymasterHello @1maryannem,
The updates will be available in your Dashboard > Updates and you can update it from there or you can manually by downloading the latest zip file of the theme .
The instruction to change the title is mentioned above . Even if you directly modify the theme now it will be lost in next update of the theme so it always a good idea to make the change through the use of child theme .
You can use below given code in your child theme functions.php file to import the setting of your parent theme .
function yummy_pro_child_customizer_options_import() { if ( get_stylesheet() !== get_template() ) { add_filter( 'pre_update_option_theme_mods_' . get_stylesheet(), function ( $value, $old_value ) { update_option( 'theme_mods_' . get_template(), $value ); return $old_value; // prevent update to child theme mods }, 10, 2 ); add_filter( 'pre_option_theme_mods_' . get_stylesheet(), function ( $default ) { return get_option( 'theme_mods_' . get_template(), $default ); } ); } } add_action('init', 'yummy_pro_child_customizer_options_import');
Hope this helps .
Best Regards!!
October 13, 2017 at 8:04 am #556431maryannemParticipantThank you – you’re brilliant!!
One last question. If I wanted to remove the background images from some of the page (the dishes of food or orange etc) how do I do that? Don’t usually have to do quite as much customisation!!
thanks
MaryanneOctober 15, 2017 at 12:32 am #55730wensolutionsKeymasterHello @1maryannem,
Nice to know your issue has been resolved .
Now to remove the background image only from specific page then you have to use below given CSS .
body.custom-background .page-id-361 { background-image: none; }
But in above CSS you have to replace the page ID with the page ID of the page that you want to remove the background for .
Hope this helps .
Best Regards!!
October 16, 2017 at 6:11 am #559071maryannemParticipantIm so sorry to sounds so silly, but where do I put that? in the Additional CSS in customiser or someplace else?
October 16, 2017 at 6:31 am #55913wensolutionsKeymasterHello @1maryannem,
You need to put any additional custom CSS in Admin Panel > Appearance > Customize > Additional CSS .
Please do not directly add the provided CSS in style.css of original file as the modification will be lost. .
Hope this helps .
Best Regards!!
-
AuthorPosts
- You must be logged in to reply to this topic.