-
Senior Member
How to stop an img picking up CSS style?
How can I stop some images picking up my img CSS style? I have some in the navbar right that don;t pick it up, but I need to stop it happening in some specific e-commerce link images in pages. Just can't see how to give them a different class.
Thoughts?
-
Hi -
If I understand what you're asking...and assuming the image(s) in question are in a blog post or page... can you:
edit the page/post > click the image in question > select the 'edit image' graphic, then in the new window that opens, switch over to the the 'advanced settings' tab and assign your css class.
Would that work?
Brad
-
Can you send a link to page?
I recently found the catalyst post/page custom css box quite useful to add a "borderless" class to post wrappers on particular posts that then allowed me to target the img tags for featured thumbs in those post via css... no need for even opening wp image editor!
-
Senior Member
Thanks all. Page is offline atm. From this I added a custom clkass direct into the img src class="noborder", but then had no luck targeting it. Hmmm
-
Must be a CSS nesting / complexity override... did you try duct taping it with a good ole "!important"?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules