• Resolved TreeTrail

    (@aprilschmitt27)


    Any advice to omit unwanted paragraph spacing between CATEGORIES label and category data. Same for EVENTNOTE …would be greatly appreciated. Please see display below:

    CATEGORIES:

    Wednesday Midweek Hikes

    EVENTNOTE:

    This hike will …

    —————————
    Single Event Page Format:

    <p>
    CATEGORIES:<br/>
    #_CATEGORIES
    <style=”clear:both”>
    </p>

    <p>
    DESCRIPTION: <font size=”2″ color=”red”><i> (includes instructions, relative difficulty, & interesting features)</i></font><br/>
    #_EVENTNOTES
    </p>

    Thank you,
    ~April

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    under Events > settings > formatting > events > single events page format you can enclosed the format in a div with a css or id name (eg. em-div) and then add custom snippet in your theme options or style.css

    
    .em-div p:empty, .em-div br {
     display: none;
    }
    
    
    Thread Starter TreeTrail

    (@aprilschmitt27)

    Apologies Angelo, I’ve been trying, but with my lack of experience, I’m not getting this to work. Into WordPress>Appearance>Customize>AdditionalCSS, I pasted your snippet:

    .em-div p:empty, .em-div br {
    display: none;
    }

    ….
    Then under under Events > settings > formatting > events > single events page format, I began with: <div style=”?.em-div” and ended all with: </div>

    As below:
    <div style=”?.em-div”
    <h4 style=”text-align: center;”>EVENT DETAIL</h4>

    <p>
    CATEGORIES:<br/>
    #_CATEGORIES
    <style=”clear:both”>
    </p>

    <p>
    DESCRIPTION: <font size=”2″ color=”red”><i> (includes instructions, relative difficulty, & interesting features)</i></font>
    #_EVENTNOTES
    </p>

    <p>
    {has_bookings}
    BOOKINGS:
    #_BOOKINGFORM
    {/has_bookings}
    </p>

    </div>

    …But I’m still getting a paragraph break before #_EVENTNOTES.

    I appreciate your patience and will be very thankful for any help.
    ~April

    Have you tried putting #_EVENTNOTES on the same line as the preceding content?

    Thread Starter TreeTrail

    (@aprilschmitt27)

    Thanks Caimin, but that doesn’t change it. If I use:
    [events_list] DESCRIPTION: #_EVENTNOTES [/events_list]

    I still get:
    DESCRIPTION:

    We will meet at People’s Plaza, depending on the temperature we will do a 20 or 30 mile ride. The 20 mile ride is to Chesapeake City. The 30 mile ride is to Locust Point.

    To condense for print of many events, I would like to have:
    DESCRIPTION:
    We will meet at People’s Plaza, depending on the temperature we will do a 20 or 30 mile ride. The 20 mile ride is to Chesapeake City. The 30 mile ride is to Locust Point.

    I also get this unwanted blank space under: CATEGORIES:, DRIVING DIRECTIONS:and LOCATION NOTES:

    FYI, a page link is: https://dev.wilmingtontrailclub.org/events/peoples-plaza-2/

    Thank you in advance for continuing to look into this.

    ~April

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can try to use custom css at the end of your style.css or theme options > custom css

    eg

    
    .article-content p:empty, .article-content br {
        display: none;
    }
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unwanted Paragraph Spacing’ is closed to new replies.