Jump to content

Help in change error message color


Recommended Posts

I was wondering if anyone could help me out with a problem I'd like to fix.

 

I have Prestashop 1.6.0.8  and One Page Checkout for Prestashop v2.3.2. At the end of the checkout process, when you did not choose delivery or other mistake you get an error or any kind of message a light red box appears with white text over it what was not done. It is very hard to read and I would really like to change the colors.

 

My template is Autumn version 2.4

 

What file change and where?

 

 

Link to comment
Share on other sites

Hello

 

I do not know your theme but in default theme you can change the text colour to whatever you want by going to:

 

global.css around line 5337 and adding this line

 

.alert {
  font-weight: bold; }
  .alert ul, .alert ol {
    padding-left: 15px;
    margin-left: 27px; }
    .alert ul li, .alert ol li {
      list-style-type: decimal;
      font-weight: bold; 
      color: black;
 
Before
 
After
 
To change the background colour go to:
global.css around line 2957  and change these colours To whatever you require
 
.alert-danger {
  background-color: #f3515c;
  border-color: #d4323d;
  color: white; }
  .alert-danger hr {
    border-top-color: #c32933; }
  .alert-danger .alert-link {
    color: #e6e6e6; }
 
Before
 
After
 
Hope this helps
 
Paul
Edited by Paulito (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...