[wp-trac] [WordPress Trac] #56337: Theme Twenty Eleven Single Product page in description tab content alignment issue

WordPress Trac noreply at wordpress.org
Fri Aug 5 10:55:17 UTC 2022


#56337: Theme Twenty Eleven Single Product page in description tab content
alignment issue
-------------------------------------------------+-------------------------
 Reporter:  umesh84                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:  6.0
 Severity:  normal                               |  Resolution:
 Keywords:  needs-design has-screenshots has-    |     Focuses:  ui, css
  patch                                          |
-------------------------------------------------+-------------------------
Changes (by tahmidulkarim):

 * keywords:  needs-patch needs-design has-screenshots => needs-design has-
     screenshots has-patch


Comment:

 The class - ''**singular**'' was getting added to the products page and
 that added a custom width of 68.9% which was causing the issue. Here is a
 screenshot - [https://prnt.sc/0zsasKZp36Jz]

 Removing the class solves the problem. So adding a condition to check for
 Woo single product page in function.php will remove the class. I have
 attached the patch above.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56337#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list