• Resolved navie343

    (@navie343)


    i want to modify the add new category button at insert media frame

    <input type="button" id="mla-attachment_category-add-submit" data-wp-lists="add:mla-attachment_category-checklist:mla-attachment_category-add" class="button category-add-submit mla-taxonomy-add-submit" value="add new category">

    change it to blue or other obvious colors(white buttion may be ignore),How can i to modify it?,I have try find the .css in the plugin/css but nothing found.

Viewing 1 replies (of 1 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question and for posting the HTML source of the button you want to modify; very helpful. The current MLA “white button” is modeled on the styles used in other WordPress taxonomy meta boxes, e.g., on the Posts/Edit Post admin submenu.

    You can add a CSS style to your theme’s style sheet or you can modify the MLA style sheet (but remember it will be overwritten every time you update the MLA plugin).

    You can find the existing styles on lines 140 to 147 of the media-library-assistant/css/mla-media-modal-style.css file. Here is the current content:

    
    .edit-attachment-frame input.mla-taxonomy-add-submit,
    .media-frame input.mla-taxonomy-add-submit {
    	font-size: 13px;
    	line-height: 16px;
    	height: 26px;
    	padding: 4px;
    	width: auto;
    }
    

    I am marking this topic resolved, but please update it if you have any problems or further questions about modifying the CSS styles for your application. Thanks for your interest in the plugin.

Viewing 1 replies (of 1 total)

The topic ‘modify the button color’ is closed to new replies.