Tab Slider : Changing The Arrow Image

UI Components for JSF
Post Reply
Murali
Posts: 38
Joined: 11 May 2009, 16:17

12 May 2010, 11:26

Hi,
I'm Using the tab slider and i need to change the arrow image (arrows.png)...
Can any one tell me how to override belows css
.pf-tabslider .arrow { display: block; height: 200px; width: 67px; background: url(./images/arrows.png) no-repeat 0 0; text-indent: -9999px; position: absolute; top: 65px; cursor: pointer; }


Thanks
Murali

Murali
Posts: 38
Joined: 11 May 2009, 16:17

12 May 2010, 13:20

Adding few more points.
1.anythingslider.css is now point to \META-INF\resources\jquery\plugins\anythingslider folder.
I need to change this path only for anythingslider.css (Like MyApps\webcontent\theme\css\)

Please let me know how to change this path.

Murali
Posts: 38
Joined: 11 May 2009, 16:17

12 May 2010, 14:32

I got an work around.
i have created the anythingslider.css under folder structure \resources\jquery\plugins\anythingslider and override the image.
I have the above folder structure under the META-INF folder of my framework project.

Thanks
Murali

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

13 May 2010, 00:44

You can just place a selector to your page or a css that contains this selector;

Code: Select all

.pf-tabslider .arrow { 
   background-image: url(yourimagepath); 
 }
Just make sure, this is located after default anythingslider.css.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 53 guests