On 9 août, 08:48, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Viernes, 6 de Agosto de 2010 13:50:44 gs84 escribió:
>
> > But i have another question about the override of active-scaffold
> > Pagination. I want to have something like this: Preview|1|2|
> > 3|...Next , with a background-color on the current page number.
> > Do you have any idea on how i can get that result.
>
> > Thanks again.
>
> It was not possible to set a CSS style to current page, because there wasn't
> inside a tag. I have fixed and you can do it using CSS, set the background for
> .active-scaffold-footer .active-scaffold-pagination span
>
Does it mean that i have to update my Active-scaffold version to get
this change?

So i tried the following
.active-scaffold-footer .active-scaffold-pagination .current_page
{background-color:#49525c; color:#fff;}

And in add the span tag in active-scaffold _list_pagination_links like
this:

<span class="current_page">
  <%= pagination_ajax_links current_page, pagination_params,
active_scaffold_config.list.page_links_window %>
</span>
 But i have the backgroung-color on all the pagination links.

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to