CSS Error
-
Can someone give me a little wisdom?
I’ve spent the weekend trying to find my error but I’m missing it.
I’m trying to get a slider to open to a new page upon clicking (actually it is a Mail Chimp sign up)
I’ve added this code to the functions php in my customizr child theme.
add_filter(‘tc_slide_background’ , ‘my_slide_custom_link’, 10, 3);
function my_slide_custom_link( $slide_image , $slide_link , $id) {
//does nothing if the slide’s id is not the targeted one
if ( 1516 != $id )
return $slide_image;//sets a custom url for the targeted slide
return sprintf(‘%2$s’,
‘https://eepurl.com/2ddur’,
$slide_image
);
}It obviously isn’t working.
As I said, Im pretty fresh to CSS and I can’t find my error.
Thanks for all the help.
Joanne
THe site is https://www.justjosocial.com
- The topic ‘CSS Error’ is closed to new replies.