Post by eluk_shop » Fri Apr 08, 2022 8:52 pm

EDIT ADD TEXT IN THE PRODUCT PAGE , in OP Version 3.0.3.7
public_html/catalog/view/theme/" your theme"/template/product/product.twig

Code: Select all

                  <button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }} <i class="fa fa-shopping-cart"></i></button>
               <style>
               div.c {
  font-size: 120%;
}</style>
<div class="c">Cost livrare si procesare:25 Lei</div>
Beneficii:
-14 zile drept de retur
-Deschiderea coletului la livrare</a></i>
<div>Vândut și livrat de ELUKSHOP </a></div>
BEFORE
https://ibb.co/6swFmK7
AFTER
https://ibb.co/k4QpbDz

Newbie

Posts

Joined
Sun Jan 03, 2021 2:03 am

Post by straightlight » Fri Apr 08, 2022 9:09 pm

The fact that the topic is already solved, that's fine. However, adding a <style> directly into a BODY twig file isn't the solution; JS / jQuery with CSS should of been used here.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: Google [Bot] and 25 guests