Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By drupalfriend123 on
Hi,
In views pagination, I see 1,2,34,next, previous as shown here:
<div class="text-center"><ul class="pagination"><li class="active"><span>1</span></li>
<li><a title="Go to page 2" href="/content/online-form?page=1">2</a></li>
<li><a title="Go to page 3" href="/content/online-form?page=2">3</a></li>
<li><a title="Go to page 4" href="/content/online-form?page=3">4</a></li>
<li class="next"><a href="/content/online-form?page=1"> ›</a></li>
<li class="pager-last"><a href="/content/online-form?page=3"></a></li>
</ul></div>
I like to remove only the numbers. I tried to do it using css but I dont see any unique classes for numbers. I also searched in google. I could not find any specific settings in views to disable just the numbers. Please advise.
Comments
=-=
There is no setting in views to do this. You will need custom code. A quick google search provides a significant amount of leads related to custom paging.
When you said custom paging,
When you said custom paging, are you referring to custom module? I am just looking for the right keyword to search for?
Also, which views tpl file has the views pagination class? I have been looking and could not locate it.
=-=
https://www.google.com/webhp?sourceid=chrome-instant&rlz=1C1CHBF_enUS714...