• Resolved David

    (@davidmanners-1)


    Hi,

    I have customised the CSS within the plugin, which works really well.

    I would like to add a custom css element to the “last” record (post) pulled from the database such as “last”! which will allow me to adjust the right margin (margin-right:0).

    Once the code is rendered i would like the last record to show <div class=”listing-item last”> and all reocrds above to be just <div class=”listing-item”>

    Hope that makes sense! Can anyone help?

    https://ww.wp.xz.cn/plugins/display-posts-shortcode/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Add Custom Class "Last" Post in Recordset’ is closed to new replies.