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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -