-
AuthorPosts
-
September 18, 2014 at 1:10 pm #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:
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
-PeterSeptember 18, 2014 at 10:12 pm #321521Hey!
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!
JosueSeptember 21, 2014 at 8:39 am #322590This reply has been marked as private.September 21, 2014 at 10:06 am #322611This reply has been marked as private.September 21, 2014 at 6:53 pm #322663Hi 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!
JosueSeptember 22, 2014 at 3:51 pm #323081This reply has been marked as private.September 22, 2014 at 3:57 pm #323084Hey!
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,
YigitSeptember 23, 2014 at 4:31 pm #323761This reply has been marked as private.September 23, 2014 at 6:28 pm #323847Hi 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,
JosueSeptember 24, 2014 at 11:51 am #324180This reply has been marked as private.September 24, 2014 at 12:11 pm #324188This reply has been marked as private.September 25, 2014 at 3:43 am #324753Hey!
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,
IsmaelSeptember 25, 2014 at 4:12 pm #325077This reply has been marked as private.September 25, 2014 at 4:16 pm #325085Hey!
I have added missing single quote
function put_stuff_on_header() { ?> CONTENT HERE <?php } add_action('ava_main_header', 'put_stuff_on_header');
Regards,
YigitSeptember 30, 2014 at 8:51 am #327074This reply has been marked as private.September 30, 2014 at 2:50 pm #327263This reply has been marked as private. -
AuthorPosts
- The topic ‘How to config so I get one constant non moving image across entire website…’ is closed to new replies.