css - Magento templates, changing class names -


i'm not sure if best forum ask in, need style magento theme , i'm wondering how dependent javascript on class names?

for example, have in template file (inside theme file, overriding base)

 <form action="<?php echo $this->getformactionurl() ?>" method="post" id="newsletter-validate-detail">         <div class="block-content">             <div class="form-subscribe-header"> 

if say, leave ids alone, change class names else (i.e. remove "block content" or "form-subscribe-header") break javascript in magento?

also, there easy way tell if i've broken something? console error if piece of javascript coupled css class name?

search javascript files class names see if used script. leave classes add new 1 in, this:

<div class="form-subscribe-header new-class"> 

then target class using .new-class

and yes, javascript errors appear in console.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -