Question: I Would like to figure out which of my Woo Commerce customers have not ordered from me in x days and send them a reminder email about something store related.

I would like to be able to do a user meta query to grab all inactive users.

Trying to avoid having to do the more expensive method which is grabbing all orders between a range, and then comparing them with recent orders to see which users aren't in the recent orders using this query...

```
$orders_query = array(
'fields'         => 'ids',
'post_type'      => 'shop_order',
'post_status'    => 'wc-completed',
'nopaging'       => true,
'posts_per_page' => -1,
'meta_query'     => array(
    'relation' => 'AND',
    array(
        'key'     => '_completed_date',
        'value'   => $fromDate,
        'compare' => '>=',
        'type'    => 'DATETIME'
    ),
    array(
        'key'     => '_completed_date',
        'value'   => $toDate,
        'compare' => '<=',
        'type'    => 'DATETIME'
    )
) //AND    
);

$result = get_posts($orders_query);

```

Does Woo Commerce add any metadata for the user for the last purchase? 

I couldn't find anything in documentation/database digging.

Answer: 
you have to add some more CSS styles such as you already done with footer

```
 <style>
  .upleft, .downleft{
    width: 50%;
    height: 250px;
    float: left;
    clear: left;
  }
  .upright, .downright{
    width: 50%;
    height: 250px;
    float: right;
    clear: right;
  }
</style>

```

By this way you shuld have your homepage divided 4 rectangles
It's better to add **clear** attributes for both style classes.
Just add a class in every div then insert a specified style for that class that can being reused by other divs, take a look at this code below

```
<body style="background:url(./image/taiyi.jpg); height:100%; width:100%;">
  <div id="header"></div>
  <script type="text/javascript">
    $(function() {
      $("#header").load("header_02.html");
    });
  </script>
  <div class="upleft specifiedSize"></div>
  <div class="upright specifiedSize"></div>
  <div class="downleft specifiedSize"></div>
  <div class="downright specifiedSize"></div>

  <!--footer start-->
  <div id="footer"></div>
  <script>
  $(function() {
    $("#footer").load("../footer_02.html");
   });
  </script>
  <!--footer end-->
</body>

```

Then add the .specifiedSize to your styling tag

```
<style>
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9;
    font-size: 13px;
  }
 .specifiedSize {
    font-size: 20px; //example size
  }
</style>

```