[wp-trac] [WordPress Trac] #18497: More flexible overriding of gallery short code default CSS

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 24 15:30:49 UTC 2011


#18497: More flexible overriding of gallery short code default CSS
-------------------------+------------------------------
 Reporter:  jb510        |       Owner:  jb510
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.2.1
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by azaozz):

 Agree with @GaryJ. Seems we are trying to solve CSS problems or add
 enhancements only from PHP, resulting in needlessly complicating the code.
 A lot of the display options/enhancements should be handled in CSS, after
 all that's the proper coding language for the display :-)

 This particular case can easily be solved by using more specific CSS
 selectors to override the defaults or even overriding the actual default
 selectors by including another stylesheet.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18497#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list