asked on
Recovery of header.php
Hi Experts,
I inheritted to maintain www.adaptabilitycanada.com and the header.php got corrupt on May 8 in the afternoon, and there's no backup (oh what fun).
I restored the original header.php from the PE Services theme, andd it "looks" 90% ok, but the header is a bit wacky. This looks like a CSS issue, BUT the header.php is the only file that was changed, so I assume that the developer changed the original header.php file without doing a child theme. I also assume they used inline css, based on the issue.
First of all, I was told about Wayback Machine, but looks like there's no Visual/CSS captured, which defeats my goal. https://web.archive.org/web/20230405010724/https://www.adaptabilitycanada.com/
Secondly, when adaptabilitycanada.com first loads, it does look fine for 2 secs, then seems like the logo div is too wide.
Of course, I can just add the inline css, but I wonder if that is really the issue?
Thanks!
If you add this in Appearance > Customize > Additional Css
#pe-bar-left { width: 20%; }
It should make it match back to before the new header.php was put on.
ASKER
Sorry, I was little sick.
Before I apply the above fix, how do I get rid of the two orange lines over Home and Facility Solutions?
You can try comparing the CSS in the original header.php file to the CSS in the current version to see if there are any differences. You can put the current and old code in a website such as https://www.diffchecker.com/ to compare them more efficiently.