[SOLVED] Matrix: change color of pagination

mikekiwi

Joined: 2005-08-20
Posts: 27
Posted: Sun, 2009-10-04 19:56

HI,

I've now updated the Matrix-theme to a dark-grey-version, but the pagination is not the way I want it.

At the moment it looks like this:

[IMG]http://img.photobucket.com/albums/v645/mikekiwi/diversen/g2pagin.png[/IMG]

But I want the background of the pagination to match the background of the site-body (=#303030). Color is set in the GcBackground1 for both the thumbnails and the pagination. How can I give the pagination (=GbBlock) its own background-definition?

thanks for your help!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-10-04 22:08

I am assuming you used http://gallery.menalto.com/node/70126

You might have to edit the template file for the pager. Album.tpl

        <div id="gsPages" class="gbBlock gcBackground1">
          {g->block type="core.Pager"}
        </div>

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mikekiwi

Joined: 2005-08-20
Posts: 27
Posted: Mon, 2009-10-05 06:10

OK, thanks, so in that way with this adaptation I can specify the background for the GbBlock separately?

And indeed, I used the FF WebDeveloper Toolbar for making the changes in the theme.css for the other parts of the template.

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-10-05 13:28

Well I don't know if GbBlock will change other areas on the page. Just add a class to the css and see.
If it changes other areas, just change the class int the template and add that class the the css.
Or add the gsPages to the css.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mikekiwi

Joined: 2005-08-20
Posts: 27
Posted: Wed, 2009-10-07 04:17

OK, I changed the class of the GsPages and added the entry to the CSS and that did the trick! Thanks a lot for pointing me in the right direction!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-10-06 23:33

Glad you got ot sorted.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team