Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #321138

    …on all pages. Hi Kriesi. I am so happy with your theme that I have bought another 2 copies for 2 more sites of mine.
    I was hoping to have an easy way to configure the theme so there is one wide image across the entire website on all pages.
    My idea was just to use the layer slider content on top of all my pages and have only one image that does not move.
    I can’t seem to get that to work, is there another way, do you have a simple solution? It should have an image across entire width, then a menu on top or belpw the image and then the page content and then the sidebar like this:
    HOw it should look
    Thanks so much for an idea of how to accomplish this easily…the best would of course be if I could set up the header for the entire website like that, so i wouldn have to do it on each page.
    Thanks
    -Peter

    #321521

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    // Put content before the content / after main container opens
    function put_stuff_before_main_content() {
    	// Put slider shortcode here, reference: http://codex.wordpress.org/Function_Reference/do_shortcode
    }
    
    add_action('ava_after_main_container', 'put_stuff_before_main_content');
    

    Cheers!
    Josue

    #322590
    This reply has been marked as private.
    #322611
    This reply has been marked as private.
    #322663

    Hi Peter!

    Put this:

    function put_stuff_before_main_content() {
    echo do_shortcode('[layerslider id="5"]');
    }
    
    add_action('ava_after_main_container', 'put_stuff_before_main_content');

    If that doesn’t work try:

    function put_stuff_before_main_content() {
    echo do_shortcode('[av_layerslider id="5"]');
    }
    
    add_action('ava_after_main_container', 'put_stuff_before_main_content');
    

    Cheers!
    Josue

    #323081
    This reply has been marked as private.
    #323084

    Hey!

    Sure, we will keep the thread open and it will be on hold until you reply back to this topic. We will be waiting to hear from you Peter

    Regards,
    Yigit

    #323761
    This reply has been marked as private.
    #323847

    Hi Peter!

    You’d need to purchase LayerSlider as a standalone plugin to get automatic updates and also be able to render the slider as a shortcode. If you purchase it remember to deactivate the bundled Enfold one:
    http://kriesi.at/documentation/enfold/deactivate-the-layerslider-plugin/

    Regards,
    Josue

    #324180
    This reply has been marked as private.
    #324188
    This reply has been marked as private.
    #324753

    Hey!

    I’m sorry but it is normal that the header refresh on page load. Adding AJAX functionality is beyond the scope of support. You might need to find a plugin or hire a freelance developer to add the feature for you. Please visit Envato Studio or Werkpress for further customization. Use this at the very bottom of functions.php if you want to add content on the header:

    function put_stuff_on_header() { ?>
    CONTENT HERE
    <?php }
    
    add_action('ava_main_header, 'put_stuff_on_header');

    Regards,
    Ismael

    #325077
    This reply has been marked as private.
    #325085

    Hey!

    I have added missing single quote

    function put_stuff_on_header() { ?>
    CONTENT HERE
    <?php }
    
    add_action('ava_main_header', 'put_stuff_on_header');
    

    Regards,
    Yigit

    #327074
    This reply has been marked as private.
    #327263
    This reply has been marked as private.
Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘How to config so I get one constant non moving image across entire website…’ is closed to new replies.