Text color problem

User 38401 Photo


Senior Advisor
10,951 posts

Hiya,

I just added a ton of products to my site today and last night, and I was checking them online to see if they all looked ok since I had taken a section and put the purple background behind them and wanted to make sure it would be worth the effort.

Anyways while I was checking these things I noticed that a selection of products have adopted the wrong color text and I'm stumped on how it happened. I've used copy/paste/edit etc. from other areas throughout all my product entries and this never happened before that I'm aware of (I'll have to go through all my products tomorrow and see if any others are affected).

In the African Health & Beauty section I created some multi packages of 2 different items, the Dead Sea Scented Bath Salts and the Body Mists. There are 2 pks, 3 pks, and 4 pks of both of these items, and it seems that only these items were affected. When I look at the originals (which I pretty much just copy and paste a product to start a new one rather than from scratch) they are all fine. I've no idea what happened lol. The text should all be purple like the single items are, but there are sections of these multi pack items that have black text.
This is all inside the Product Detail area.

If anyone has any idea how to fix this I'd most appreciate it as I refuse to pull my few hairs left on my head out for this! LOL Thanks as always :)

Link in signature for shop.

P.S. Is there a reason that the SCC text color editor in the Product Details doesn't have a place to put an HTML color number? or am I just missing it somewhere?
User 38401 Photo


Senior Advisor
10,951 posts

Ok this is now bleeding into the Shop Home page also, any ideas I'm really at a loss here, even trying to change the color via the text editor for the page doesn't stay put. I've double checked my Theme to make sure it's still all intact text wise and nothing's changed it's all supposed to be the purple text not the black at all.

*EDIT* I was able to get the text to change to the purple in the editor of the Shop Home Page, I don't know if it's going to stay or not, but it should already be showing up purple not black due to the settings in the Theme I thought? This just started yesterday to do this, I haven't changed anything on this theme, I've worked on a Xmas one this week but that is basically the same thing with different graphics on it so it should be all good and shouldn't have changed anything like this I wouldn't think?

I'm pretty baffled here, it's probably something really stupid and obvious and I just can't see it as usual lol. I sure hope someone has an idea what's wrong because I really don't want to have to edit all my products that start doing this after I've added them :P
User 2641572 Photo


Registered User
1,245 posts

Without going into too much detail, if the text colour isn't showing up correctly, then the font colour is incorrect. Most likely cause of that is an html code error. Black is the default text colour and needs open and closed html font tags to change that default. Try loading the html code into html editor and see what colour text you get. Its probably something as silly as a minor syntax error.
User 38401 Photo


Senior Advisor
10,951 posts

well see that's just it, before this happened I didn't edit any of the colors at all in the SCC program, it was all done in the SCD program and it's worked great up until last night. I haven't changed any of the text colors in about a month give or take a few days, and it's always shown up with the purple that it was setup for in the designer. Just last night it started showing up in that black color. Not sure where it came from or why. I didn't edit anything in the HTML editor of the SCC till last night when trying to fix this issue, and it will allow me to fix it now and it seems to be staying put when I edit it manually, but....

Why am I all of a sudden having to do that is the real question. What happened that made it change out of the blue? It could very well be I changed something somewhere, but I can assure you it wasn't any text color anywhere and the only HTML that has been added into SCC so far was added tonight to put a Paypal link in so that wasn't there yet even... very strange Will, no clue what to check on it. I just went through my SCD once more and looked at every single text color setting, and none of them are black at all other than the input text for which I'm assuming is for things like the numbers in the item count for the cart view. I'm stumped and going to bed lol, nite and thanks for trying :)
User 2641572 Photo


Registered User
1,245 posts

View the source code in your browser window Jo Ann and carefully check over the html to see if a font colour other than black is actually being defined in there. If there is no reference to another colour, then something is possibly being overwritten in the code creation. If you can find some reference to your colour in there, then look for a syntax error, that will prevent the font colour being processed.

Coding tip: Whenever you remove the impossible, however improbable, only the possible remains - usually'. :)
User 103173 Photo


VP of Software Development
0 posts

WILL_UK wrote:
View the source code in your browser window Jo Ann and carefully check over the html to see if a font colour other than black is actually being defined in there. If there is no reference to another colour, then something is possibly being overwritten in the code creation. If you can find some reference to your colour in there, then look for a syntax error, that will prevent the font colour being processed.

Coding tip: Whenever you remove the impossible, however improbable, only the possible remains - usually'. :)

Didn't Spock say that? :)
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2641572 Photo


Registered User
1,245 posts

I actually forgot to tell Jo Ann about that great unwritten rule of programming. :)

Well that is I'd have liked to have done, but nobody ever had the foresight to actually write it down. :D

User 38401 Photo


Senior Advisor
10,951 posts

hehe ok I'll check that and see what I find on it today, hopefully something will pop out, but most likely it will be a lot of jibberish from the SCC code lol. *gets ready to go blind seeing billions of strange code lines* :P
User 38401 Photo


Senior Advisor
10,951 posts

I haven't checked this yet, but something came to my mind just now that I'm wondering if this isn't maybe what happened.

I think this is a formatting problem where if you format something specially in the text, then decide to take it off or change it in some way it reverts back to black thinking there is no formatting in a sense, but overwriting the css with a new setting instead of defaulting back to the css settings?

I hope that makes sense, because I found another bunch of instances of this problem on my products and I'm 100% sure it's because something in 1 product got changed text wise (I don't know which one sorry, still looking to see if I can decipher that), and I copied and pasted that as my next product... this means anything I copied from that product on down the line will have this same problem. I'm sure of that part, just not sure exactly what I did to change something that overwrote the original css text color. Color I didn't change for sure, only added/removed Bold for the most part and I may have inserted a link and removed it, but that's the only things I can think of that would make any sense.
User 38401 Photo


Senior Advisor
10,951 posts

I think I'm on to something with this problem being something messed up in one product as I just copied and pasted the text from a product that didn't have the problems and put it into the details of a product that did have the problem. I then just copied and pasted the correct text for that product into the lines it belonged in so the text was now back to the current text for that product. Uploaded the shop and that product now displays the purple text like it should so it's definitely a copy/paste issue that caused it to be spread. Now I just have to decipher what I did that caused the text to go black to start with lol.

I do know that if you add a link, take that link out and it will revert to black text. This could be what I did even though I can't offhand think of any links I added to any products, but maybe something else I did had the same results.

Anyways it's definitely hard to know since we can't see the text colors that the CSS will display in the end. Since it's all black in the SCC I never knew anything was wrong so now trying to backtrack hopefully I can remember what I did lol.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.