WordPress.org

Forums

WP-PageNavi
[resolved] Change navigation elements container (5 posts)

  1. SemiBur
    Member
    Posted 1 year ago #

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry I don't get what you mean.

  3. SemiBur
    Member
    Posted 1 year ago #

    K, now the navigation looks like:

    <div class="wp-pagenavi">
    <span class="current">1</span><a class="page larger" href="">2</a>
    <a class="nextpostslink" href="">></a>
    </div>

    i want it to be:

    <div class="wp-pagenavi">
    <div class="current">1</div><a class="page larger" href="">2</a>
    <div class="myclass"><a class="nextpostslink" href="">></a></div>
    </div>
  4. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry you can't that is hardcoded in the code.

    I don't see the need of a div to be better styled. If you need it to be a block element you can always use css

    .wp-pagenavi span { display: block; }

  5. SemiBur
    Member
    Posted 1 year ago #

    Thnx...
    Shame on me..... i didn't think about doing it this way....

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.