Apropos of nothing much, it’s been bugging the ever-lovin’ crap out of me that images in the main content-box all have a one pixel orange (?!?) border around ‘em, for reasons I simply cannot suss out. Been that way since the Coop-O-Ween makeover. I have waded through every line of code in every WP page, using Brave and Safari both—stylesheet, main-index, single-post, PHP-functions, various theme-template pieces and/or parts; cleared the browser cache, dumped cookies, tried option-reload, rebooted several times, and…nuttin’, not even a hint of a clue of a sotto voce whisper about what might be going on. Verified the mystery img-border issue on two (2) different computers* and my sail foam as well, got the same result on every electronic device in the friggin’ house.
It’s a real headscratcher, that’s what. Doesn’t seem to affect the sidebar images at all; the header image border and navigation-menu drop-downs look exactly as they should. I’m totally at sea on this business, I ain’t too proud to admit it. If any of y’uns are seeing something different than I am, holla and let me know, wouldja?
* The trusty iMac and my new (to me) MacBook, those would be; haven’t tried the Dell laptop so thoughtfully given to me by BCE back when I was in hospital durance vile, on which I installed Kubuntu Linux after they sprung me; guess I really should try that, might well clear up a thing or two about a thing or two, who knows. Suggestions, ideas, or prayers from any of you web-heads, code junkies, script geeks, and/or scruffy layabouts out there in CF Lande are hereby solicited, and most welcome
Update! Just for shits ’n’ giggles I tried activating the default WP theme (Twenty Twenty-Five, VERY bare-bones), reloaded the home page in Brave (my browser of choice), then switched back over to Scrooge Picard and reloaded again, in hopes that I might jar something loose thereby. No joy in Mudville, drat the luck.
Happy happy joy joy update! Found it, fixed it, orange border is banished, all is now sweetness and light once more in CF Lande. See the comments for details.
I think it’s the following code for each:
img {
border: 1px solid #ea9635;
HAAAA! Thanks a MILLION, Barry; I knew what the img-border code was, what I couldn’t figure out was what part of either the CSS or the PHP was invoking it. But your comment made a lightbulb go on in my head as to where it might be found…so I looked, and sure enough, there the little varmint was!! Musta passed right over it about twenty damned times, but I got ‘im licked now…:D
Okay, just to prove once and for all that I am in fact an idiot: the theme I’ve used for years here is one that has long since been deprecated, hasn’t had an update in years and years. BUT, having done a crap-ton of customizing and modifying it over those years myself, PLUS this theme having–among many other features I really, really like–under the “Appearance/Customize” tab an “Additional CSS” feature, which I’ve also custom-tweaked all to hell and gone, I’ve had all the more reason to stick with it. And when I dug deeper into “Additional CSS,” what to my wondering eyes should appear but this:
Notice that there’s a p-break betwixt “bigtext” and “img”–which, someunknownhow, had been omitted when I was switching back to the usual Tough Guy theme from the Coop-O-Ween duds, leaving the “img” tag snugged up against the closing bracket of “bigtxt,” automagickally changing the text color to a dull medium grey, etc.
This, in turn, made it all too easy for my tired old eyes to slide right over the “img” tag all unseeing in the course of all that scanning and skimming and hunting around I mentioned earlier. Usually, when you’ve screwed the CSS pooch so completely as that, it throws up a big red “X” at the start of the line, and won’t let you save it until it’s been put right. Why it didn’t happen this time I surely do not know.
Border color changed, p-break re-inserted, changes saved, “Publish” button hit, all is now jake. PHEW!!
A bigger, better screen grab showing the crucial “Additional CSS” option, just for the sheer hell of it:
And there you have it, gang.
And to think, for years I eked out my meager living at this sort of work. Methinks I probably owe my former clients/employers an apology…
Glad you figured it out. It’s easy to look right at the thing you need and not see it. Not many people can do this…