The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Style Current Page in WordPress wp_link_pages

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #41849

    I’m using a modified form of wp_link_pages at []( “”)

    When a div is added, we can obviously style the links. But what if I want to style the non-linked current page (the number ‘2’ in this example)… is there a way to achieve this via CSS alone?

    I should mention, I realize I can assign unique CSS to the links and then mess with the size, color, etc of the entire div to change the un-linked current page. But what if I want to add a specific background color or padding – then I’d need to target that specific page number.

    If anybody has any ideas I’d love to hear them! :-)




    @siouxfan45 – I use the built in WordPress class that is applied to each current page link and it looks something like this;

    .current_page_item {

    /* Insert current page styling here */


Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.