Close

Account

Documentation

Forum

Menu

Fallback Image Mobile

  • Post count: 9
    markza
    February 5, 2015 at 5:00 pm #8884

    I want to give the fallback image a link when you visit the site on mobile.

    section-header-slider.fulltext.php

    I put in the following code:
    div class=”bgholder”>
    a href=”http://www.nu.nl”><div class=”video-fallback” style=”background-image: url(‘<?php echo $bgfallback; ?>’)”></div>

    I have deleted the < before the a href, because this forum use html code.

    In the css the following code:
    .invisibleLink {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    }

    What did I do wrong??

    • This topic was modified 2 years, 9 months ago by  markza.
    • This topic was modified 2 years, 9 months ago by  markza.
    • This topic was modified 2 years, 9 months ago by  markza.
    • This topic was modified 2 years, 9 months ago by  markza.
    Post count: 6364
    Adek
    February 7, 2015 at 9:45 am #8916

    Hi markza,

    I’m not quite sure on this thing. It seems you forget to add close tag for anchor tag. Anyway can i see your site?

    Thank you

You must be logged in to reply to this topic.