[wp-trac] [WordPress Trac] #24797: Twenty Thirteen: Bullets conflicting with caption

WordPress Trac noreply at wordpress.org
Fri Jul 19 17:57:03 UTC 2013


#24797: Twenty Thirteen: Bullets conflicting with caption
---------------------------+--------------------
 Reporter:  rdall          |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+--------------------

Comment (by RDall):

 Replying to [comment:20 lancewillett]:
 > Let's stick with the padding technique only, and also apply to only
 left-aligned captions (and right-aligned) in RTL.
 >

 1. I honestly couldn't figure out how you were adding padding to the wp-
 caption… as much as I tried… I didn't want to set a defined size as the
 image would of course change size and reduce in the responsive nature of
 the theme.

 > I don't think we need the "general sibling" selector here, just adjacent
 should do fine.

 2. Ok… That being said I couldn't use the {{{+}}} selector in the other
 example because it would only apply to the element directly after the
 caption which in my case would have been a  {{{p}}} tag and not the
 {{{ul}}} or {{{ol}}} So I had to use the  {{{~}}}.

 3. I could never get the exact same selector to apply in the editor-
 style.css for whatever reason… That last part has me scratching my head
 the most.

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


More information about the wp-trac mailing list