EcoTransport demo, Home Page video icon SVG button not appearing as demo

This topic has 3 replies, 2 voices, and was last updated 5 years, 3 months ago ago by Rose Tyler

  • Avatar: themadguru
    Robert
    Participant
    April 14, 2020 at 20:58

    Hi

    I want to use particular elements from the EcoTransport theme on another site.

    I imported the demo of EcoTransport onto a staging/development site. On the Home page, just above the title “Let’s see performance” is a video icon on your live demo. On my staging site, the video play icon is not visible.

    When I investigate the Home page, I see that the icon was created with a Fancy button. Inside is some HTML code for an iFrame:-

    <iframe src="https://www.youtube.com/embed/UAlAkvoilfk" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

    further below that is the SVG based button with this code in my site:

    <svg width="24" height="32" viewBox="0 0 24 32" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M23 16L1 31V16.273V1L23 16Z" fill="white"/>
    <path d="M1 32C0.84 32 0.679001 31.962 0.533001 31.884C0.205001 31.711 0 31.371 0 31V1.00002C0 0.62902 0.205001 0.28902 0.533001 0.11602C0.861001 -0.0579797 1.257 -0.0339801 1.564 0.17402L23.564 15.174C23.836 15.36 24 15.669 24 16C24 16.331 23.836 16.64 23.563 16.826L1.563 31.826C1.394 31.941 1.197 32 1 32ZM2 2.89302V29.108L21.225 16L2 2.89302Z" fill="white"/>
    </svg>

    When I test the code on here:-

    https://www.rapidtables.com/web/tools/svg-viewer-editor.html

    Nothing appears. The imported code is not correct?

    Clearly, something is different from the original demo site to my imported staging site. The SVG button code doesn’t match the original in my opinion.

    I have included login credentials in the private area. Please can you tell me why the demo import has failed here, maybe take a look and suggest the correct SVG code that needs to go in there for the icon to work?

    Regards
    Robert

    2 Answers
    Avatar: themadguru
    Robert
    Participant
    April 14, 2020 at 23:27

    It’s working now. the button style should have been set to custom and
    Button background color set to red
    and Button background color (hover) set to a slightly different red. It was on default before.

    Please close ticket.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 15, 2020 at 08:09

    Hello,

    We are glad that you sorted out.
    Have a nice day.

    Regards

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘EcoTransport demo, Home Page video icon SVG button not appearing as demo’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.