Welcome, Guest
Username: Password: Remember me
Pleas keep in mind that SPAM will be deleted instantly
  • Page:
  • 1

TOPIC: Need to add a class to the pagenav UL

Need to add a class to the pagenav UL 2 years 8 months ago #4627

  • kevin.webdesignmk.co
  • kevin.webdesignmk.co's Avatar Topic Author
  • Offline
  • Posts: 5
  • Thank you received: 0
Hi,

I would like to add a class to the UL in the pagenav code, but cannot find it in any of the file to override.

Do you know which file the code is in?

Kind regards
Gareth

Please Log in or Create an account to join the conversation.

Need to add a class to the pagenav UL 2 years 8 months ago #4630

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1112
  • Karma: 21
  • Thank you received: 202
you can not because joodb uses the joomla pagination layout.

You could copy the pagination.php file to your template/html folder or add a selector to the css file where the pagination is defined.

For example:
.joodb .pagination ul li { font-size: 30px; color: yellow; }

Please Log in or Create an account to join the conversation.

Need to add a class to the pagenav UL 2 years 8 months ago #4636

  • kevin.webdesignmk.co
  • kevin.webdesignmk.co's Avatar Topic Author
  • Offline
  • Posts: 5
  • Thank you received: 0
Hi Dirk,

Thank you for the information. Will go and over-ride the pagination.

Kind regards
Gareth

Please Log in or Create an account to join the conversation.

Need to add a class to the pagenav UL 2 years 8 months ago #4637

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1112
  • Karma: 21
  • Thank you received: 202
You should really try to change the template CSS file.
It's much easier and faster.

BTW: There is a joodb.css file in /media/joodb/css/joodb.css
Inside you have a pagination-section!

But you should copy this file into the css folder of your template to prevent override by updates.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: Dirkjoest