Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #558677

    Basically I want my blog (& all it’s sub parts) to look the same and have a layer slider under the header that exists on the rest of my website. (So people know when they are within the blog) This layer slider should appear below the normal header on ALL blog areas, including the main blog page, single posts, archives and categories.
    Right now it only works on the main blog page.

    I’ve tried the tips in this forum post: https://kriesi.at/support/topic/small-slider-banner-on-blog-page/

    I’ve also tried setting up a template and applying to each post–however when I do this I get two sliders and lose the headlines for each post.

    I think I prefer the method in the forum post I mention above–where i don’t have to apply a template to each individual post. I’m not so great with php. I can see that the code I have in there (in header & function.php) is almost right because on the front end there’s a space where the slider would be, but it’s just blank–not showing up.

    Now, here’s the weird thing, I’ve noticed that if I manually put another layer slider on a post the one that has been showing up as just a blank space appears (with the shortcode text displayed).

    I’m sure the solution is simple, but I’ve been spending hours and hours trying to figure it out with my limited knowledge. I hope you can help. This site is not yet live so private content is included so you can see first hand what I have setup.

    Code I have in header.php:

    <?php if(is_page('Blog') || is_single()){
    			echo do_shortcode("[layerslider id='thelifedream']");
    		} ?>

    Code I have in function.php:

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    	return "debug";
    }
    

    Thank you for your help!

    P.S. I love this theme! Just this one thing is driving me batty. :)

    #558994

    Hi lucky19!

    Even though this question gets asked a lot it’s actually a difficult thing to do. I would consider creating a feature request here, https://kriesi.at/support/enfold-feature-requests/, and if it gets enough interest we may see something get added in a future update.

    As it is now there is just too many changes needed for it for us to do in the forums.

    Cheers!
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.