Basic version: text and cloud message are black
-
Good evening, I use the basic version. When a user visits my site and sends a message, they type text that appears in black on a white background. However, when the chatbot responds, the text is black and the background is also black.
What could be causing the problem?
Thanks
-
hey @anto1292,
It could be a theme CSS interfering. I’m happy to look if you’re able to share the public front facing URL.
Thanks,
Maxwell
Goodmorning,
may i send the link privately?
I’m using MyListing Theme and looking for the source page i see the differance between color and background:-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0,0,0,0);
--wp--preset--aspect-ratio--square: 1;
--wp--preset--aspect-ratio--4-3: 4/3;
--wp--preset--aspect-ratio--3-4: 3/4;
--wp--preset--aspect-ratio--3-2: 3/2;
--wp--preset--aspect-ratio--2-3: 2/3;
--wp--preset--aspect-ratio--16-9: 16/9;
--wp--preset--aspect-ratio--9-16: 9/16;
--wp--preset--color--black: #000000;
--wp--preset--color--cyan-bluish-gray: #abb8c3;
--wp--preset--color--white: #ffffff;
--wp--preset--color--pale-pink: #f78da7;
--wp--preset--color--vivid-red: #cf2e2e;
--wp--preset--color--luminous-vivid-orange: #ff6900;
--wp--preset--color--luminous-vivid-amber: #fcb900;
--wp--preset--color--light-green-cyan: #7bdcb5;
--wp--preset--color--vivid-green-cyan: #00d084;
--wp--preset--color--pale-cyan-blue: #8ed1fc;
--wp--preset--color--vivid-cyan-blue: #0693e3;
--wp--preset--color--vivid-purple: #9b51e0;
--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);
--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);
--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);
--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);
--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);
--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);
--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);
--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);
--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);
--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);
--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);
--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);
--wp--preset--font-size--small: 13px;
--wp--preset--font-size--medium: 20px;
--wp--preset--font-size--large: 36px;
--wp--preset--font-size--x-large: 42px;
--wp--preset--font-family--inter: "Inter", sans-serif;
--wp--preset--font-family--cardo: Cardo;
--wp--preset--spacing--20: 0.44rem;
--wp--preset--spacing--30: 0.67rem;
--wp--preset--spacing--40: 1rem;
--wp--preset--spacing--50: 1.5rem;
--wp--preset--spacing--60: 2.25rem;
--wp--preset--spacing--70: 3.38rem;
--wp--preset--spacing--80: 5.06rem;
--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);
--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);
--woocommerce: #720eec;
--wc-green: #7ad03a;
--wc-red: #a00;
--wc-orange: #ffba00;
--wc-blue: #2ea2cc;
--wc-primary: #720eec;
--wc-primary-text: #fcfbfe;
--wc-secondary: #e9e6ed;
--wc-secondary-text: #515151;
--wc-highlight: #958e09;
--wc-highligh-text: white;
--wc-content-bg: #fff;
--wc-subtext: #767676;
--wc-form-border-color: rgba(32, 7, 7, 0.8);
--wc-form-border-radius: 4px;
--wc-form-border-width: 1px;
--direction-multiplier: 1;
--page-title-display: block;
--swiper-theme-color: #007aff;
--swiper-navigation-size: 44px;
--accent: #110900;
--vh: 9.53px;
font-family: var(--e-global-typography-text-font-family),GlacialIndifference,sans-serif;
font-weight: var(--e-global-typography-text-font-weight)!important;
--e-global-color-primary: #6EC1E4;
--e-global-color-secondary: #54595F;
--e-global-color-text: #7A7A7A;
--e-global-color-accent: #61CE70;
--e-global-color-0ea8e16: #FAA930;
--e-global-typography-primary-font-family: "Roboto";
--e-global-typography-primary-font-weight: 600;
--e-global-typography-secondary-font-family: "Roboto Slab";
--e-global-typography-secondary-font-weight: 400;
--e-global-typography-text-font-family: "Roboto";
--e-global-typography-text-font-weight: 400;
--e-global-typography-accent-font-family: "Roboto";
--e-global-typography-accent-font-weight: 500;
pointer-events: auto;
box-sizing: border-box;
margin-bottom: 15px;
padding: 10px;
display: inline-block;
max-width: 85%;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
font-size: 14px;
line-height: 24px;
white-space: pre-line;
float: left;
clear: both;
border: 1px solid rgba(226, 232, 255, 0.2);
border-radius: 0 18px 18px;
overflow-x: hidden;
background: rgb(33, 33, 33);
color: rgb(255, 255, 255);
<div class="bot-message" style="background: rgb(33, 33, 33); color: rgb(255, 255, 255);"><p>Testo del messaggio</p></div>If you cant share publicly, that’s fine, i can just give you the CSS to fix and review what you shared here.
I am away from computer at the moment. Once I return to a computer I will review what you shared and also give you the CSS class properties and info to fix it!
-
This reply was modified 3 months, 1 week ago by
m4xw3ll.
Thanks to your suggestion, I solved the problem. I added this code to Custom Code – CSS in Mylisting’s Theme Options:
.mxchat-chatbot .bot-message,
.mxchat-chatbot .bot-message p,
.mxchat-chatbot .bot-message * {
color: #ffffff !important;
}.mxchat-chatbot .user-message,
.mxchat-chatbot .user-message p,
.mxchat-chatbot .user-message * {
color: #212121 !important;
}And now I can see the color. Thanks so much for the support, it’s really helpful.
hi @anto1292,
glad you were able to get it resolved and its exactly what I was going to suggest!
thanks,
maxwell
-
This reply was modified 3 months, 1 week ago by
You must be logged in to reply to this topic.