Topic: Remove CSS style with jQuery (Page 1 of 1) |
|
|---|---|
|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 09-05-2009 01:44
Hi, |
|
Lunatic (VI) Inmate From: under the bed |
posted 09-05-2009 02:19
assuming "img" is the class you want removed: code: $(document).ready(function(){
$("div.img").removeClass("img");
});
code: $(document).ready(function(){
$("div.img").css("attribute", "value");
});
code: $("div.img img")
|
|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 09-05-2009 05:00
Thank you for your guidance...you got me thinking in the right direction and I fixed the code. It actually turned out to be this: code: $(document).ready(function(){
$(".post_content").removeClass("post_content img");
}); |
|
Lunatic (VI) Inmate From: under the bed |
posted 09-05-2009 17:20
I've found these articles to be extremely helpful for this kind of thing: |
|
Paranoid (IV) Inmate From: |
posted 09-07-2009 06:29
Why not just create a page template for those pages (based on index.php or single.php)? |
|
Paranoid (IV) Inmate From: Norway |
posted 09-12-2009 15:03
|
|
Nervous Wreck (II) Inmate From: |
posted 05-31-2011 11:04
Edit TP: spam removed
|