Post by max2tall » Tue Nov 13, 2012 1:13 pm

Hi all,

Want to modify the error message text & perhaps bigger or bolder, but can't find where.

Image says it all.

Tnx in advance.

Attachments

x size required error msg.PNG

x size required error msg.PNG (5.02 KiB) Viewed 403 times


New member

Posts

Joined
Fri Sep 28, 2012 4:19 pm

Post by anung » Tue Nov 13, 2012 2:12 pm

open screen.css.php in catalog/view/theme/shoppica2/stylesheet find this code

Code: Select all

#product_options .s_error_msg
{
  clear: none !important;
  <?php if ($language == 'ltr'): ?>
  margin-left: 40% !important;
  <?php else: ?>
  margin-right: 40% !important;
  <?php endif; ?>
}
put this code

Code: Select all

font-weight: bold !important;
Result

Code: Select all

#product_options .s_error_msg
{
  clear: none !important;
  <?php if ($language == 'ltr'): ?>
  margin-left: 40% !important;
font-weight: bold !important;
  <?php else: ?>
  margin-right: 40% !important;
font-weight: bold !important;
  <?php endif; ?>
}

User avatar
Active Member

Posts

Joined
Fri Mar 30, 2012 10:32 am
Location - Indonesia

Post by max2tall » Tue Nov 13, 2012 4:35 pm

Hi & thanks for that quick reply !

worked great, although I just put:
/*bold the 'must select a size message'*/
#product_options .s_error_msg {font-weight: bold !important;}

into the shoppica2 custom stylesheet menu page :)

Where to edit the actual txt though?

cheers

New member

Posts

Joined
Fri Sep 28, 2012 4:19 pm

Post by anung » Wed Nov 14, 2012 1:10 am

In cart.php in catalog/language/english/checkout
find this code

Code: Select all

$_['error_required']         = '%s required!';

User avatar
Active Member

Posts

Joined
Fri Mar 30, 2012 10:32 am
Location - Indonesia

Post by max2tall » Wed Nov 14, 2012 9:42 am

ah... there it is !
so many files to hunt through, I clearly missed it before

thank you so much :)

New member

Posts

Joined
Fri Sep 28, 2012 4:19 pm
Who is online

Users browsing this forum: No registered users and 78 guests