notifyjs-corner. How do you change the background color?

  • Posts: 3
  • Thank you received: 1
  • Hikashop Essential
7 months 2 weeks ago #364306

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.1.0

notifyjs-corner

When I click on the Add to Cart button the colour of the pop-up box is light blue. (IF the cart is full it is a pale orange/brown). How do I change these colours?

I have tried adding a css rule background-color: #999 as the site I have designed is monochrome. This css just adds a grey box BEHIND the pop-up, it does not change the colour of the pop-up.

I have looked at other posts on these boxes but haven't seen an answer to this problem.

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 months 2 weeks ago #364310

Hello,

You have to add some custom Css, something like shown in my screenshot :


To these kind of command you can add an important in order to be sure to make your custom css override default command.

Learn here how here to learn how to add your custom Css.
Regards

Last edit: 7 months 2 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 1
  • Hikashop Essential
7 months 2 weeks ago #364324

Thank you Philppe.

I have changed the background colour which was the main issue but the font colour is not responding. The border colour has also responded to the new css. This is what I have tried, also hiding the thumbnail image in thenpopup.

thetableedit.com/index.php/tte-shop/prod...shop-with-antoinette

.notifyjs-metro-info {
color: #000000 !important;
background-color: #ffffff !important;
border: 1px solid #000000 !important;
}
.notifyjs-metro-info img {
display:none !important;
}
.notifyjs-metro-info span, .notifyjs-metro-info p, . notifyjs-corner p, .notifyjs-corner span {
color: black !important;
}

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 months 2 weeks ago #364325

Hello,

try to add some class to your selector, like "notifyjs-container" (or even more with "notifyjs-corner" to have this :
.notifyjs-corner .notifyjs-container .notifyjs-metro-info {
color: #000000 !important;
background-color: ...

Regards

Last edit: 7 months 2 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 1
  • Hikashop Essential
7 months 2 weeks ago #364337

That's worked - thank you.
Other users might find this code useful.

.notifyjs-corner .notifyjs-container .notifyjs-metro-info {
color: #333333 !important;
background-color: #ffffff !important;
border: 1px solid #333333 !important;
font-family: Gill Sans Light, Open Sans, Gills Sans, Gill Sans MT,Century Gothic,Verdana,Arial,sans-serif;
font-weight: 100 !important;
font-size: 0.5em ;
letter-spacing: 0.2em;
line-height: 3em;
}
.notifyjs-corner .notifyjs-container .notifyjs-metro-info img {
display:none !important;
}
.notifyjs-corner{
width: 150px;
}

The following user(s) said Thank You: Philip

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum