Remove caption from banner element

Dear experts,

I am trying to remove a caption from the first image of my nivo slide banner. Could you please help me out? Attached goes the image where I highlighted the element I wish to remove.

Thanks in advance,

Winter
Captura-de-pantalla-2013-01-25-a.png
glepizaAsked:
Who is Participating?
 
leakim971Connect With a Mentor PluritechnicianCommented:
my code work : http://jsfiddle.net/VrudA/

the way you want to achieve : http://jsfiddle.net/VrudA/1/
$("a[href='/node/58']").parent().remove();

Open in new window

0
 
leakim971PluritechnicianCommented:
$(document).ready(function() {
       $(".nivo-caption").replaceWith( $(".nivo-caption").html() );
})

Open in new window

or :
$(document).ready(function() {
       $(".nivo-caption").remove();
})

Open in new window

0
 
glepizaAuthor Commented:
Thanks expert,

Would that remove only the first caption or all of them?

Thanks
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
leakim971PluritechnicianCommented:
All
0
 
glepizaAuthor Commented:
Is there a way to remove only the first one? the one that says "Presentación"?

Thanks in advance

Winter
0
 
leakim971PluritechnicianCommented:
$(document).ready(function() {
       $(".nivo-caption:eq(0)").remove();
})
0
 
leakim971PluritechnicianCommented:
$(document).ready(function() {
       $(".nivo-caption:first").remove();
})
0
 
glepizaAuthor Commented:
nothing yet, it keeps removing all of them :(
0
 
leakim971PluritechnicianCommented:
You are not using the right code. Clear you cache if needed
0
 
glepizaAuthor Commented:
ok, I am trying to remove it by selecting the node path that contains that caption, but still it does not work:

                   jQuery(document).ready(function() {
                     if (jQuery('a[href*="/node/59"]')){
                        jQuery(this).parent().remove();
                }
            })
0
 
glepizaAuthor Commented:
Thanks!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.