Jump to content

Camp "garantie"


misi_11

Recommended Posts

o alta solutie ar fi sa folosesti jQuery si adaugi manual textul "Garantie: 12 luni" in descriere

textul trebuie marcat cu o clasa specifica "garantie"

cum se face:

 

1. adauga in global.css

 

p.garantie{ font-weight: bold}

 

2. in descriere click pe textul Garantie: 12 luni si apoi selectezi clasa garantie

 

3. modifica in tema ta  js/product.js

//To do after loading HTML
$(document).ready(function()
{ 
.....

//adauga asa inainte de finalul acoladei.
$('#idTab1 .garantie').insertAfter($('#product_reference'));
}
Edited by valentin.g (see edit history)
Link to comment
Share on other sites

  • 1 year later...
  • 7 years later...
  • 3 months later...

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...