WPIntell

Source evidence

does this still work

Custom CSS classes for images · support · 2016-12-08T22:18:00+00:00

complaintsentiment
mediumseverity
0.86relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 26 rows with source links

23.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
dbreckling unresolved
i have it installed and i see the 2 css boxes in the media library – how is it supposed to work. I have a CSS class called blacklayer that i want to apply – a simply image overlay. do i simply reference blacklayer or do i have to write it in css – cant really figure it out This topic was modified 9 years, 5 months ago by dbreckling . Yes you still need to add your custom CSS code otherwise the plugin won’t know what blacklayer is supposed to be styled like. So you can add blacklayer in the featured image field, and then use that classname in your custom CSS within the Customizer, like so: .blacklayer { /* styles here */ } The class blacklayer will be applied to your Featured Images. Hope this helps. I’ve just found and used this plugin – running WP 4.7.2 – and everything is working just fine (so far). To use this plugin you just reference the CSS class you have created in the newly added fields in the media library. What I did was as follows: 1.) installed plugin 2.) created css class in my style.css file 3.) applied css class to featured image via the media field that was added to the images in the wordpress media library Step 3 is as simple as just copying the name of the css class you already created in your css file into the field. So if in your css file you created ‘.custom-class’, you would just add ‘custom-class’ into the field. Hopefully this helps.

Comments

2 shown
ThemeSumo 2016-12-08T23:53:00+00:00

Yes you still need to add your custom CSS code otherwise the plugin won’t know what blacklayer is supposed to be styled like. So you can add blacklayer in the featured image field, and then use that classname in your custom CSS within the Customizer, like so: .blacklayer { /* styles here */ } The class blacklayer will be applied to your Featured Images. Hope this helps.

ajs476 2017-01-30T17:02:00+00:00

I’ve just found and used this plugin – running WP 4.7.2 – and everything is working just fine (so far). To use this plugin you just reference the CSS class you have created in the newly added fields in the media library. What I did was as follows: 1.) installed plugin 2.) created css class in my style.css file 3.) applied css class to featured image via the media field that was added to the images in the wordpress media library Step 3 is as simple as just copying the name of the css class you already created in your css file into the field. So if in your css file you created ‘.custom-class’, you would just add ‘custom-class’ into the field. Hopefully this helps.