More trial and error got things working:
1) moved all javascript to its proper place into the bottom of the page in tpl_footer.php, since best practice is to always put all javascript at the bottom of the page
2) use this code for now:
if ($("span:contains('Check Out')")) {
$(".btn-primary").css("color", "green");
}
However, the template uses Twitter Bootstrap, which contains horridly excessively complicated css button code, requiring considerably more testing to determine what colors to use etc. depending on the text.
The jQ code above changes the actual css of the .btn-primary class, in this case the text color for testing.
Thank you, Tom



Reply With Quote
