WordPress.org

Making WordPress.org

Opened 6 months ago

Last modified 6 weeks ago

#4491 reopened defect

Archive page shows 2 columns instead of 3 at certain media queries

Reported by: milana_cap Owned by:
Milestone: Priority: normal
Component: HelpHub Keywords: has-screenshots has-patch
Cc:

Description

CSS used for these columns should be changed to something more reliable and up to date. This is what we have now:

@media (min-width: 48em)
.three-up .archive-block, .three-up > div {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    margin-right: 4.5%;
    font-size: 0.8rem;
}

.three-up .archive-block:nth-child(3n), .three-up > div:nth-child(3n) {
    margin-right: 0;
}

Using either Flexbox or CSS Grid would make columns behave better.

One of effected pages: https://wordpress.org/support/category/getting-started/

Screenshot:

https://user-images.githubusercontent.com/7957680/41554497-a217d596-72fa-11e8-9c20-2500a7d880c8.jpg

Attachments (2)

4491.patch (1.4 KB) - added by milana_cap 5 months ago.
WP - HH - Articles 2.png (255.9 KB) - added by estelaris 2 months ago.
HH Category list-format

Download all attachments as: .zip

Change History (14)

This ticket was mentioned in Slack in #docs by zzap. View the logs.


6 months ago

@milana_cap
5 months ago

#2 @milana_cap
5 months ago

  • Keywords has-patch added; needs-patch removed

This ticket was mentioned in Slack in #docs by zzap. View the logs.


5 months ago

This ticket was mentioned in Slack in #docs by zzap. View the logs.


5 months ago

#5 @estelaris
5 months ago

  • Keywords needs-design added

This ticket was mentioned in Slack in #docs by zzap. View the logs.


3 months ago

This ticket was mentioned in Slack in #docs by zzap. View the logs.


2 months ago

#8 @estelaris
2 months ago

  • Keywords needs-design removed
  • Resolution set to invalid
  • Status changed from new to closed

In order to avoid the column issue, a list-format is better to show an index of all articles in a category.

There are several advantages:

  • List can grow as needed
  • no issues if one description is larger than another since there will be only rows and one column
  • will simplify user interaction as the list will present 1 to 2 pages with articles instead of having to click through 6 screens to find what is needed

#9 @estelaris
2 months ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

@estelaris
2 months ago

HH Category list-format

This ticket was mentioned in Slack in #docs by estelaris. View the logs.


2 months ago

This ticket was mentioned in Slack in #docs by estelaris. View the logs.


7 weeks ago

This ticket was mentioned in Slack in #docs by softservenet. View the logs.


6 weeks ago

Note: See TracTickets for help on using tickets.