jquery - css is not applied to the appended html elements -


i googled css should applied new loaded elements automatically, not able figure out what's wrong codes.

[my web:][1]

when scroll down bottom, load new post(s). new loaded element closed posts, there "closed" class in div#pin, , opacity (or filter) should applied doesn't.

your newly created element has opacity: 1; in inline style.

because inline style overwrites class defined style rules, opacity of 1 result, , not opacity of 0.5 defined rule class.

if not possible: try modifying view.css rule

.closed      {     opacity: 0.5 !important;     } 

by adding !important increase priority of rule.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -