Page-Links Plus affiliates and resellers

Page-Links Plus

#pagelinksplus

A WordPress pagination plugin that helps users paginate content easily & efficiently.

highlight current page

Home Forums Support highlight current page

This topic contains 1 reply, has 2 voices, and was last updated by  Studio Hyperset 8 months, 2 weeks ago.

  • Author
    Posts
  • #659 Reply

    Tiziano

    Hi,how can I highlight current page?

  • #663 Reply

    Studio Hyperset
    Keymaster

    Hi, Tiziano:

    The current page always has the following span class:

    <span class="plp-active-page"> ... </span>

    As such, you could use the following CSS-based approach to highlight that page:

    span.plp-active-page {
        background-color: cadetblue;
        padding: 0 10px 0 10px;
    }

    I’ve attached a screenshot from the PLP demo illustrating the effect.

Reply To: highlight current page
Your information:




Get PLP

$10

Page-Links Plus helps WordPress developers, site managers, and lay users paginate content easily & efficiently. Buy now »
back to top