Help: Trying to include a href in the image href="/p/#/app/award/118669?instance=36228220"

Hi All,
I’m trying to get a link into this code and I’m trying a few things that aren’t working properly. Could anyone help me, please? Link to be added : href=“/p/#/app/award/118669?instance=36228220”

<div class="col-lg-4 col-md-4 col-sm-4 hidden-xs">
            <div class="apbg-cover"
                style="border:none;border-top:none;height:350px;padding:0;margin-bottom:0;background-image:url(&quot;https://i.imgur.com/HvMacCt.jpg&quot;);">
            </div>
        </div>
        <div class="col-xs-12 hidden-sm hidden-md hidden-lg" style="margin-bottom:20px">
            <div class="apbg-cover"
                style="border:none;border-top:none;height:360px;padding:0;margin-bottom:0;background-image:url(&quot;https://i.imgur.com/HvMacCt.jpg&quot;);">
            </div>

Why are you doing the CSS inline as an element attribute, rather than in a dedicated CSS file which can be imported and the background-image applied to the class?

1 Like

This is the code I was given to edit… I don’t know how to use CSS yet, just CSS.Do you know how I would edit in HTML ? Thank you for replying it :slight_smile: