Question

Photo of Miqueas Nieves

0

Lava - css Telephone, address & City entity

The telephone number, address and City are not coming out incorrectly. There is a picture of the output and the lava. I attempted to use "span" with no results.

The telephone numbers are:       (562)

                                                            900-

                                                             1522



The numbers should be:  (562) 900-1522

Position File.jpg

File.jpg           

  
{% assign ord = Rows | Sort:'LastName' %}
  {% for row in ord %}
<span class="{{ row.PhoneNumber:'Mobile' | ToCssClass }}">Label</span>
    <div class="apellido">{{ row.LastName }}
         <div class="nombre">{{ row.FirstName }}
             <div class="telefono">{{ row | PhoneNumber:'Mobile' | Default:'NoCell' }}
                 <div class="calle">{{ row | Address:'Home','[[Street1]]' | Default:'NoDireccion' }}
                    <div class="ciudad">{{ row | Address:'Home','[[City]]' | Default:'NoDireccion' }}
                        <div class="estado">{{ row | Address:'Home','[[State]]' | Default:'NoDireccion' }}
                             <div class="zip">{{ row | Address:'Home','[[PostalCode]]' | Default:'NoDireccion' }}</div>
                        </div>
                    </div>
                 </div>
             </div> 
          </div>
    </div>
  {% endfor %} 


How can I fix this output.
Thank you in advance. \
God bless

                             
                                  



  • Photo of Daniel Hazelbaker

    0

    It looks like you have some CSS somewhere that is limiting the width of all your cells, that is most likely what is causing the wrapping issue in the phone number you are seeing.