12/30/2009 6:33:20 AM
RE:How to change style of pagination control in LightBox Image Gallery
You can do that using CSS stylesheet. In fact, you can refer to the PagerControl class in your CSS Stylesheet: Site Manager -> Development -> CSS stylesheets.
There are being rendered also other CSS classes for elements of this pager, so you can use them as well. Please take a look at the source code of particular page.
Whether you will need to add another styles you can do that directly in the lightbox webpart:~\CMSWebParts\Viewers\lightbox.ascx.cs. It's accessible in SetupControl method following way:
repItems.PagerControl.BackNextStyle = "color:#CCCCCC";
Please note it affects all the lightbox webparts, therefore it's recommended cloning this webpart as described here: http://devnet.kentico.com/docs/devguide/modifying_the_code_of_standard_web_parts.htm