Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5600

    Hi,

    I’d like to remove the slider at the top of each single post page (http://www.whitesummitproductions.com/portfolio-item/property-showcase/) without affecting the page which shows all portfolio items (http://www.whitesummitproductions.com/video-work/).

    I’ve tried a simple display:none in the quick css box however this turned off both sliders on the pages I mentioned above.

    Do I just remove this code from the single.php? I haven’t yet as I didn’t want to mess anything up.

    `<?php

    /*

    * Function that displays headings + subheadings for pages

    * Located at the bottom of functions.php, in case you want to edit the output

    */

    //echo avia_display_heading();

    $slider = new avia_slideshow(avia_get_the_ID());

    echo $slider->display();

    ?>`

    #51043

    Not sure if I do understand it right but I guess a simple



    .single-portfolio .slideshow_container{
    display:none;
    }

    the body of each page/post type gets unique classes applied so you might just want to check those to target the slideshows on those pages

    should do the trick

    #51044

    Thank you. That worked great.

    #51045

    Glad it works :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Removing slider from single post page’ is closed to new replies.