× Pleas keep in mind that SPAM will be deleted instantly

Need to add a class to the pagenav UL

  • kevin.webdesignmk.co
  • Offline
More
6 years 4 months ago #4627 by kevin.webdesignmk.co
Need to add a class to the pagenav UL was created by kevin.webdesignmk.co
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 to join the conversation.

More
6 years 4 months ago #4630 by Dirk
Replied by Dirk on topic Need to add a class to the pagenav UL
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 to join the conversation.

  • kevin.webdesignmk.co
  • Offline
More
6 years 4 months ago #4636 by kevin.webdesignmk.co
Replied by kevin.webdesignmk.co on topic Need to add a class to the pagenav UL
Hi Dirk,

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

Kind regards
Gareth

Please Log in to join the conversation.

More
6 years 4 months ago #4637 by Dirk
Replied by Dirk on topic Need to add a class to the pagenav UL
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 to join the conversation.

Moderators: Dirkjoest