ThemeShaper Forums » Thematic


Hide page-titles shown in slider

(4 posts)
  • Started 8 years ago by lsnoei
  • Latest reply from d_rec
  • This topic is not resolved
  1. lsnoei

    Hi, I´m using a childtheme for thematic, called Smarter by Cozmolabs.
    I posted my question on his forum, too. But no answer so far.

    Smarter uses a caroussel, showing pages.
    I would like to hide the page-title when shown in de the caroussel.

    This is the test-site:
    I think the answer is in this piece of PHP:

    function smarter_add_stepcarousel( ) {
    	wp_enqueue_script( 'stepcarousel', get_bloginfo('template_directory').'/includes/js/stepcarousel.js', array( 'jquery' ) );
    	wp_enqueue_script( 'stepcarousel-setup', get_bloginfo('template_directory').'/includes/js/stepcarousel-setup.js', array( 'jquery' ) );
    add_action( 'wp_print_scripts', 'smarter_add_stepcarousel' );


    Posted 8 years ago #
  2. That bit of PHP is calling your Javascript for your slider. You could try something like .entry-content h2 {display:none} in your CSS and that'll remove the slider's title.

    Posted 8 years ago #
  3. lsnoei

    Hey, it worked!
    How could you (and can I learn to) see that .entry-content h2 is exclusively used for the slider's titles and not for titles elsewhere?
    Thank you!

    Posted 8 years ago #
  4. I used Firebug - to display the css properties on the theme at Cozmolabs. keep this handy and you'll be able to find/isolate all your css properties.

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.