Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Are you using the default templates or custom ones?

    Thread Starter lauradfs

    (@lauradfs)

    Hi,

    I am using this for the default format for the header of the event list:

    <table cellpadding="0" cellspacing="0" class="events-table" >
        <thead>
            <tr>
    			<th class="event-image" width="150"></th>
    			<th class="event-description" width="*"></th>
    		</tr>
       	</thead>
        <tbody>

    And this for the default format of the event list:

    <tr><td>
                         #_EVENTIMAGE{150,70}<td> </td><td> </td><br/>
                </td>
    <td>
                         #_EVENTDATES<br/>
                         <h7><b>#_EVENTLINK</b></h7>
                         #_EVENTNOTES</br>
                </td>
            </tr>

    Thanks.

    Does this happen with the default WordPress theme? I think your theme could be adding in all those line break tags.

    What formatting are you using for Default single event format?

    Thread Starter lauradfs

    (@lauradfs)

    No, this is not happening with the default WordPress theme. If it’s the theme, how can I remove those line break tags, please?

    this is the formatting for default single event format:

    <div style="float:right; margin:0px 0px 15px 15px;">#_LOCATIONMAP</div>
    <p>
    	<strong>Fecha/Hora</strong><br/>
    	Date(s) - #_EVENTDATES<br /><i>#_EVENTTIMES</i>
    </p>
    {has_location}
    <p>
    	<strong>Ubicación</strong><br/>
    	#_LOCATIONLINK
    </p>
    {/has_location}
    <p>
    	<strong>Categorías</strong>
    	#_CATEGORIES
    </p>
    <br style="clear:both" />
    #_EVENTNOTES
    {has_bookings}
    <h3>Bookings</h3>
    #_BOOKINGFORM
    {/has_bookings}

    One thing you could try is to remove the spaces and new lines in the formating – that might work.

    Another option is to add this line to the functions.php file of your theme: remove_filter ('the_content', 'wpautop');

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Delete space on the picture’ is closed to new replies.