[buddypress-trac] [BuddyPress] #5280: Codex: Image in content area extends beyond container

buddypress-trac noreply at wordpress.org
Thu Dec 12 02:19:16 UTC 2013


#5280: Codex: Image in content area extends beyond container
-----------------------------------------+-----------------------------
 Reporter:  mercime                      |       Owner:  DJPaul
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  Future Release
Component:  codex.buddypress.org         |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+-----------------------------

Comment (by mercime):

 @karmatosed thank you for your input and reminder. Yes, adding the max-
 width and auto height in codex theme's stylesheet would be great.

 However, I would have to disagree with you about not needing to have any
 $content_width set in the functions.php file as the $content_width
 controls not only the images added to posts but also oEmbeds or any other
 content added in posts. As an aside, $content_width is a Required item in
 WP theme reviews.

 In the case of responsive themes which usually have max widths (I assume
 this will be so for the Codex theme when it's made responsive) we could
 then adjust the $content_width to fit that max width within the content
 area and can further adjust for special page templates if needed.  Smaller
 screen sizes should then adjust automatically with the stylesheet's img
 max-width set at 100%.

 For this particular ticket, given that the codex theme is still fixed-
 width and we're not sure if the theme's going to be made responsive this
 year, it would be much appreciated if the $content_width be added to the
 theme's functions.php as well as  max-width for images/oEmbeds to the
 theme's stylesheet so we could address the current image overflows in the
 codex.

 @DJPaul Please let me know what I can do to expedite the implementation of
 the above-mentioned. Thank you.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5280#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list