[SOLVED] Page was updated and is now missing Header
WP 4.9
Ata 3.7.5 Problem page: http://clairebolderson.com/training this single page is missing the header. Header includes image and menu. Other pages such as: http://clairebolderson.com/journalis...ne-journalism/ and http://clairebolderson.com/moderating-speaking/ are unaffected. Have tried disabling all plugins and nothing changed. Have disabled cache and refreshed. This site is rarely changed, so there's not a lot of clues for me to figure this out. |
So what changes have you made? If it is not a plugin, then it is something else you have done. The first step is to check to see if the header is missing from the actual source of the page, so go to the page and in your browser, find the option to view the source. You will probably need to turn on the browsers developers tools to see that option.
Once you have it, copy the source to a text file and do a search for '<!-- Header -->' then scroll down and see if you see if you see things like the logoarea and the menu items etc. Let me know what you find. p.s. I know the what the issue is but I'm going to walk you thru how to discover the problem yourself. I'm on the east coast US so I'll look for a response in the morning. |
Thanks for the note, JuggleDad
Unfortunately, it was not I who changed the page. Another editor did it and then told me of the error. Looking at the page revision history did not help much. A few small changes in the text here and there, the removal of a pdf embed, a couple of tiny formatting things. Here's the header code. It looks fairly conventional, containing the logo area, the search box, the image, the menu and the bar. Code:
<!-- Header --> Would include full page HTML, but that's to much for the vBulletin system text box. TIA Zip |
Ok, so you see that the html is there for the header, that means some CSS must be hiding it. To figure out what
1) go to ATO->Export/Import and export your settings so you have a backup. 2) go to ATO->Add HTML/CSS inserts->CSS Inserts and copy the contents to a text file 3) delete the contents of the CSS Inserts and hit the big green 'Save changes' button 4) go look at the page - is the header there? If so, something in the CSS is the cause 5) move half of the CSS that is currently in the text file back to 'CSS Inserts' and save it 6) go look at the page - is the header there? if not go back to step 5 7) if the header IS there then you have narrowed the cause if the issue so pull that CSS back out and put it in a text file. 8) move a couple lines of the CSS back in, save and test till you find the offending line(s) of CSS remember to always move a batch of CSS from the selector thru the closing '}' for that chunck of CSS. I'll be waiting to see what you find. Note, if you don't want to effect the live site, another way to do this would be to 1) go to ATO->Configure CSS & JS->CSS: Compress? and make sure it is set to 'No' 2) copy the entire source of the page to a text file. Save the file with an extension of .html (a file name something like missingheader.html). 3) open the file in your browser. 4) in your text editor fine the line: HTML Code:
/* Chrome and Safari don't like clearfix in some cases. 5) move the remaining CSS to a text file and save the missingheader.html file, save it, go to the browser and do a refresh. You should see the changes immediately. 6) copy some of the CSS back into the missingheader.html file, save it, go to the browser and do a refresh. if the issue shows up, the CSS you just added contains the problem. I do this and/or use the inspector developer option in FireFox to look at sites and find the problems. Copying the file to a text file and pulling out the CSS is the way I discovered what was happening in this site.;) |
FML,
I'm on the road, and so am on my laptop. When I was examining the CSS inserts earlier, I didn't scroll the text box down to the very end. D'oh! :o The very last entry was: Code:
body.page-id-1916 div#imagecontainer { Now I just have to wonder how that code got there. It's difficult to imagine this particular Editor fiddling around in there... Thanks, as ever, for your invaluable help, JuggleDad :) Zip |
All times are GMT -6. The time now is 06:54 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.