Thread Starter
Jason
(@jason-bengiat)
Should I just delete <?php echo fd_theme_options( ‘logo’ ); ?>?
Hi Jason
This is a logo image and it is easy to remove it by adding a CSS style like this…
display:none;
This would be placed in the img element. Also, if the theme has a custom CSS available, you should place it there.
Make sure to make these modifications to a child theme.
Please let me know if you need further assistance.
Thank you,
Pete
Thread Starter
Jason
(@jason-bengiat)
Pete,
Thank you. I already deleted <?php echo fd_theme_options( ‘logo’ ); ?>. Everything seems to be working fine, so far. Will deleting and reactivating Food and Diet allow me to do it your way? Should I try to do it your way, considering I don’t know where the img element and custom CSS are, and I don’t know how to make modifications to a child theme?
Jason
Jason,
If you leave the PHP code intact, but only change the CSS like I have described, you have the option of adding a logo later. Either way works.
Also, it is highly recommended to create a child theme and make your modifications there. WordPress has a document on how this is done. http://codex.wordpress.org/Child_Themes
Please let me know if I can be of any assistance.
Thank you,
Pete
Thread Starter
Jason
(@jason-bengiat)
Is <?php echo fd_theme_options( ‘logo’ ); ?> PHP code?
How do I restore Food and Diet? Deleting, installing, and reactivating this theme doesn’t restore this theme.
Jason,
Yep, that’s PHP!
What happens when you remove the theme and try to reinstall and reactivate it?
Thank you,
Pete
Thread Starter
Jason
(@jason-bengiat)
After I reactivate it, the logo image doesn’t appear.
Ok so the theme is working, but your logo is no longer there?
When you reinstall, do you add the theme like you did the very first time, using the upload process?
Thank you,
Pete
Thread Starter
Jason
(@jason-bengiat)
Yes, the theme is working. Food and Diet’s logo isn’t there. I never tried to put my own logo in the header.
I went to Appearance, Themes, WordPress.org Themes, Search Themes, Install, and Activate.
I am not sure why the logo is no longer there.. unless you need to clear your cache.. that’s all I can think of. Reinstalling the theme should have put back your PHP code that you removed.
Thank you
Pete
Thread Starter
Jason
(@jason-bengiat)
I’m on a public computer. Will restarting the computer clear the cache?
Thread Starter
Jason
(@jason-bengiat)
Restarting the public computer didn’t work.
Did I make it clear I deleted the code at Appearance, Editor, header.php?
Hmm… still I do not know how that logo is no longer there… Can you look in header.php and see if your code is appearing? Can you add it back in if it isn’t there?
Thank you,
Pete
Thread Starter
Jason
(@jason-bengiat)
The code I deleted is back! But, the logo image isn’t.