Topic: Remove CSS style with jQuery |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() ![]() ![]() ![]() Hi, |
Lunatic (VI) Inmate From: under the bed |
![]() ![]() ![]() ![]() 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.... |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() I've found these articles to be extremely helpful for this kind of thing: |
Paranoid (IV) Inmate From: |
![]() ![]() ![]() ![]() Why not just create a page template for those pages (based on index.php or single.php)? |
Paranoid (IV) Inmate From: Norway |
![]() ![]() ![]() ![]() |
Nervous Wreck (II) Inmate From: |
![]() ![]() ![]() ![]() Edit TP: spam removed
|