Pagination problem, How I can remove the current page from right side ? |
Hello,
I have pagination, Everything works fine. But I need to remove current page from right side. Here it is 7 (In Screenshot) My code : PHP Code: $this->load->library('pagination');
it looks like it is a CSS styling problem not related to backend code.
some styles given to .active class making it to display in this way
I have seen that also before and it was due to extra code in the html file
on the end of the statement. This was a bootstrap html page with a font awesome <i> tag. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
You can't remove it with Codeigniter, it's hardcoded in there. You will need to hide it with CSS.
Code: ul.pagination li.active {display: none;} Or better yet style it. Here is a bootstrap example: https://getbootstrap.com/docs/4.3/compon...ive-states
screenshot is in attachment what I'm actually looking for.
Actually Code from the template Code: <nav aria-label="Page navigation"> My Codeigniter pagination config PHP Code: public function sale()
This is a CSS matter. And can't be changed with Codeigniter settings.
https://www.w3schools.com/cssref/pr_back...-color.asp https://www.w3schools.com/cssref/pr_text_color.asp Apply your styling inside this tag. Code: ul.pagination li.active { |
Welcome Guest, Not a member yet? Register Sign In |