Hide the pagination

GK User
Thu Apr 19, 2012 4:50 pm
Hi Gavick,
I'm using Financial business to built a site, but when we publish too many articles on one page, the pagination showed weird: A couple of arrows function as previous and next button, and the Previous and Next button also there with the same function. See the attached image.
I try to find out where to translate the previous and the next words but I can not find them. So I want to hide this word and use only the arrows.
Please help me!
pagination.jpg
User avatar
Expert Boarder

teitbite
Mon Apr 23, 2012 1:56 am
Hi

Please show me an exact page You've taken this screenshot.
User avatar
Moderator

GK User
Tue Apr 24, 2012 10:47 am
Hi Teitbite,
I am editing the template on localhost on my own computer, not ready for a live site yet. The livesite is http://lamdongreal.vn/ but it is using another template. Now I want to customize this template to replace the existing one. Can you help me somehow?
User avatar
Expert Boarder

teitbite
Tue Apr 24, 2012 11:37 am
Hi

This is a simple task, but I would like not to guess, but simply see the page, check the code and tell You what to do to hide it. Please ignore it for now. And when site will be online please get back to me, so I'll be able to help than.
User avatar
Moderator

GK User
Tue Apr 24, 2012 11:55 am
Ok,
It's gonna be online in the next few days. I'll get back here then :-)
Thank you for your replying :-)
User avatar
Expert Boarder

teitbite
Wed Apr 25, 2012 12:06 am
Hi

Ok. I'll be waiting to hear from You :)
User avatar
Moderator

GK User
Thu Apr 26, 2012 9:33 pm
Hi Teitbite,
I have publish the site with the new template (finalcial busibness). Here it is: http://lamdongreal.vn
As you can see on the front page, the pagination is weird. Please help me!
User avatar
Expert Boarder

teitbite
Fri Apr 27, 2012 11:00 am
Hi

To remove Prev and Next please replace the attached file with the one present in template's /html folder.

To make pagination items smaller please add this code to css:

Code: Select all
ul.pagination li a, ul.pagination li span {
    margin: 2px 2px;
    padding: 4px 6px;
}


You can of course play with values inside this class.
User avatar
Moderator

GK User
Fri Apr 27, 2012 11:38 am
Thank you, Teitbite.
I have added the css elements to style.css file and it makes the pagination looks much more beautiful.
I replaced the pagination.php with the new one from you, but then, the arrows doesn't work properly, so i decide to comment out the arrows, instead of the Previous and Next. It's ok but I don't know why they don't load the vietnamese language? They're in english. How to translate them?
User avatar
Expert Boarder

GK User
Fri Apr 27, 2012 11:46 am
I found it myself :D :D :D
No more support needed :mrgreen:
Thanks!!!
User avatar
Expert Boarder

teitbite
Sat Apr 28, 2012 12:41 pm
Hi

Ok. Good to know it and I'm glad I could help.
User avatar
Moderator


cron