Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #707886

    Hi there

    I hope you can help.

    I really like my Enfold theme and all the numerous variations to customise our new website.
    Now, we would like to display video background on our homepage. However, this only works on a laptop or desktop browser. When viewing the same site on a mobile, rather than a static picture (the only current option), we would like to display a slideshow instead.

    Can you please advise?

    Thank you.

    #707920

    Hey Asiertxu,

    Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

    #707936

    Thanks Basilis

    That thought already crossed my mind.

    However, and taking account the increasing number of people accessing web content through their mobiles, instead of their laptops or desktop, perhaps this could be a new option on your next Theme upgrade. Think about it….

    It would not only improve the User Experience but it would certainly help position your theme ahead of your nearest competitors. Most of them still think that websites should be designed with ‘desktop’ in mind first and ‘mobile’ second, at a time when Google themselves and current user trends are pointing on the opposite direction.

    All that being said, when I submitted my question I didn’t intend or expect, that you would change the theme itself. What I was hoping for is that you could point me in the right direction, ie: as what kind of code I needed, and in what page or template I could integrated it with, etc…

    For instance, I found this on Google… How To Create a Slideshow, but I wouldn’t know where to add it on, on which page or template.
    As you can imagine, I’m trying to keep my costs down to a minimum, hence me not calling a freelancer.

    Hope you understand and are able to help.

    Best

    Asiertxu

    #707997

    Oops, I meant…. For instance, I found this on Google… http://www.w3schools.com/howto/howto_js_slideshow.asp…, but I wouldn’t know where to add it on, on which page or template.

    #708862

    Hi,

    There are three different locations for the 3 steps in the link you provided:

    Step 1) Add HTML: Create a page and add a Code Block and insert the code there and Publish the page.
    Step 2) Add CSS: Go to Enfold > General Styling > Quick CSS and put the css code there. The css might need to be modified a bit so it doesn’t conflict with the css classes currently used in Enfold.
    Step 3) Add JavaScript: Go to Appearance > Editor > open functions.php and add this code:

    function add_custom_script(){
    ?>
    <script type="text/javascript">
    JAVASCRIPT_CODE_HERE
    </script>
    <?php 
    }
    add_action('wp_footer', 'add_custom_script');
    

    Replace JAVASCRIPT_CODE_HERE with the javascript code there. Hope this helps :)

    Best regards,
    Nikko

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

You must be logged in to reply to this topic.