Jump to content

Question about display:none


Recommended Posts

media="all".wp-core-ui .button, .wp-core-ui .button-primary, .wp-core-ui .button-secondary {
<a href="#" id="insert-media-button" class="button insert-media add_media" data-editor="pv_seller_info" title="Add Media"><span class="wp-media-buttons-icon"></span> Add Media</a>

Hello, I need some css help beyond my knowledge. I'm using wordpress, woocommerce and matt's product vendor. I can add custom css however I can't get the correct display none.


There is a add media button I want to hide for my vendors without hiding all media buttons. Using chrome inspect element, I can find is the above codes.


Any idea what the display none codes would be?


Thank you in advanceKimberly

Edited by Kimbh
Link to comment
Share on other sites

that will address the specific ID "insert-media-button" and display none.


You can check out http://www.w3schools.com/cssref/pr_class_display.asp and http://www.w3schools.com/css/css_id_class.asp to help you out on this.

Edited by Heather@MercuryMosaics.com
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...