Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #279566

    Hi,

    thanks for your great theme. One question: I would like to display a portfolio page with a slideshow on top. However, the slideshow disappears as soon as I assign the page the portfolio behavior. Is this a bug? Is it possible to change that behavior? I would really appreciate to have that option. Thanks in advance!

    #279816

    Hi MoritzStefaner!

    Thank you for using the theme.

    I’m sorry but that’s not possible without modifying the theme files. You can edit includes > loop-portfolio.php. Find this code on line 8:

    global $avia_config;
    $avia_config['avia_is_overview'] = true;
    

    Below, add the this code:

    $slider 		= new avia_slideshow(@get_the_ID());
    if($slider->slidecount) 
    {
    	$post_class .= " with_slideshow";
    	if($post_loop_count === 1)
    	{	
    		$slider->customClass('big-slideshow');
    		$post_class .= " big-slideshow-post";
    	}
    	else
    	{
    		$slider->customClass('eight alpha units');
    	}
    }
    		
    if($slider->slidecount) echo $slider->display(); 

    Add this on Quick CSS or custom.css:

    #top .template-portfolio-overview .slideshow_container {
    margin-left: -100px;
    }

    Use media queries to adjust the left margin on smaller screens.

    Best regards,
    Ismael

    #279885

    Thanks! Seems to work! One more question: Is it possible to kove the slideshow above the main content, as in the other pages? Any pointers appreciated.

    #279886

    Also, it seems as if the slide navigation does not work (no controls to go to following slides in default view, in fullscreen, they are visible, but don’t work..)

    #280251

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #280780

    Sure! Here is a test page (the proposed css tweak is not in place yet)

    http://data-cuisine.net/theory/test/

    #280785

    Hey!

    Controls are not showing because there is only one slide there.

    Regards,
    Josue

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

You must be logged in to reply to this topic.