Post by TheCreatables » Mon Apr 13, 2015 11:44 pm

Hello Guys,

How would I go about removing the red asterisk in the checkout section.

Which file would I go to and what would I remove?

Thanks

Charlotte

New member

Posts

Joined
Fri Feb 13, 2015 8:35 pm

Post by labeshops » Mon Apr 13, 2015 11:46 pm

Which one?

Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by TheCreatables » Tue Apr 14, 2015 4:39 pm

Hello,

I would like to remove the red asterisks that are required fields in the checkout address.

Thanks

Charlotte

New member

Posts

Joined
Fri Feb 13, 2015 8:35 pm

Post by viethemes » Wed Apr 15, 2015 12:04 am

You can use my own Custom CSS and add code below

Code: Select all

body[class*="checkout-checkout"] div.required .control-label:before {
	display: none;
}

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by pla1829 » Sun Sep 24, 2017 6:03 am

Thanks I was searching: hide / remove asterisk required field css opencart

and came across this thread. I made a small modification to your code and got it to work successfully. Thanks.

Code: Select all

.required .control-label:before {
	display: none;
}

New member

Posts

Joined
Sat Nov 22, 2014 12:16 pm
Who is online

Users browsing this forum: No registered users and 174 guests