Making WordPress.org


Ignore:
Timestamp:
01/08/2021 11:58:06 PM (6 years ago)
Author:
iandunn
Message:

wporg-main: Move hosting section above downloads for UX.

Most people install WP via a hosting provider, and many won't know what to do with a .zip file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/css/components/_page-download.scss

    r10441 r10562  
    2929
    3030        section {
    31                 padding: ms( 10 ) 0;
     31                margin-top: 4em;
    3232
    3333                h2:first-of-type {
    … …  
    3737
    3838        section.download {
    39                 padding-top: 0;
    4039                text-align: center;
     40                order: 3;
     41
     42                @include breakpoint( 768px ) {
     43                        order: 2;
     44                }
    4145
    4246                .call-to-action {
    … …  
    6872                        }
    6973                }
    70                
     74
    7175                .dashicons-download:before {
    7276                        margin-right: 5px;
    … …  
    8690                position: relative;
    8791                text-align: center;
     92                padding: ms( 10 ) 0;
     93                order: 2;
     94
     95                @include breakpoint( 768px ) {
     96                        order: 1;
     97                }
    8898
    8999                .parallelogram {
    … …  
    125135                text-align: center;
    126136                width: 100%;
     137                order: 1; /* Assume that mobile users want to install the apps on their phones, and desktop users want to setup WP on a server. */
    127138
    128                 @include breakpoint( 0, 768px ) {
    129                         border-top: none;
    130                         border-bottom: 2px solid #eee;
    131                         padding-top: 0;
     139                @include breakpoint( 768px ) {
     140                        order: 3;
    132141                }
    133142
Note: See TracChangeset for help on using the changeset viewer.