× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

{joodb pagenav}

  • VolkmarRauschlos
11 years 6 months ago - 11 years 5 months ago #1189 by VolkmarRauschlos
{joodb pagenav} was created by VolkmarRauschlos
Hi,
since some time my pagination list created by the {joodb pagenav}-command is vertically. How can I get it back horizontally?
Thanx
Last edit: 11 years 5 months ago by joest.

Please Log in to join the conversation.

More
11 years 5 months ago #1208 by Dirk
Replied by Dirk on topic Re: {joodb pagenav}
Joodb uses the internal pagination function.

So if the Pagination is not displayed correctly it should be a general problem.

Solve it with your template css.

Example.
/* pagination */
.pagination {
  margin: 10px 0;
  text-align: center;
}

.pagination ul {
  display: inline-block;
  *display: inline;
  margin: 0 auto;
  padding: 0;
}

.pagination li {
  display: inline;
  margin: 0;
  padding: 0;
}

Please Log in to join the conversation.

  • VolkmarRauschlos
11 years 5 months ago #1233 by VolkmarRauschlos
Replied by VolkmarRauschlos on topic Re: {joodb pagenav}
I´ve choosen another template (tk_greenery) and it works. So it´s indeed a problem with my template css. I want to use the "multipastell" and I´ve found one position in the main.css where .pagination is set. The old entries are:

/** pagination **/

ul.pagination {

margin:15px auto 5px auto;
padding:10px 0;
list-style:none;
background:url(../images/line_brown.gif) repeat-x top;

}

ul.pagination ul {

list-style:none;

}

ul.pagination li {

margin:0;
padding:2px 3px !important;
display:inline;
background-image:none !important;

}

ul.pagination li span {

padding:2px 3px;

}

ul.pagination a {

text-decoration:underline;

}

If I replace them with your suggestions it doesn`t work either. The only settings I´ve found about Pagination in the tk_greenery-template was:

/* Pagination */

#system .pagination a,
#system .pagination strong { border: none; }

What do I do wrong?

Please Log in to join the conversation.

More
11 years 5 months ago - 11 years 5 months ago #1234 by Dirk
Replied by Dirk on topic Re: {joodb pagenav}
The pagination structure can be different from version to version or from template to template.

Because the template can overwrite the pagination module.

This has nothing to do with joodb.

Get yourself firebug for firefox or google chrome and analyze the structure.

I guess your ul hasn't a class .pagination but the container.
Like this...
<div class="pagination">
  <ul>
    <li>...</li>
  </ul>
</div>

So your CSS code must be
.pagination ul li {}
and not
ul.pagination li {}
Last edit: 11 years 5 months ago by Dirk.

Please Log in to join the conversation.

Moderators: Dirkjoest