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


    I’d like to remove the slider at the top of each single post page ( without affecting the page which shows all portfolio items (

    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.



    * 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();



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

    .single-portfolio .slideshow_container{

    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


    Thank you. That worked great.


    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.