Skip to main content
Participating Frequently
April 5, 2017
Question

Rollovers

  • April 5, 2017
  • 1 reply
  • 1022 views

My rollovers are finally working, again, however the pictures are too close together and only the rollover on the right side of the screen works properly. How do I space the pictures so they work? I have 2 pictures per row and one per column. And, although the coding has them on different rows, they show up on the same row.

Advice, please.

<div class="row">

<div class="col col-md-one-half col-full"><div class="thumbnail-drag"></div></div>
<div class="col col-md-one-half col-full"><div class="thumbnail-drag2"></div></div> 
</div>
<div class="row">

<div class="col col-md-one-half col-full"><div class="thumbnail-drag3"></div></div>
<div class="col col-md-one-half col-full"><div class="thumbnail-drag4"></div></div>

</div>
<div class="row">
<div class="col col-md-one-half col-full"><div class="rollover-dragster"></div></div>
<div class="col col-md-one-half col-full"><div class="rollover-rake"></div></div>
<div class="col col-md-one-half col-full"><div class="rollover-equig-qd"></div></div>
</div>

    This topic has been closed for replies.

    1 reply

    Nancy OShea
    Community Expert
    Community Expert
    April 5, 2017

    Which code framework are you using? 

    Nancy

    Nancy O'Shea— Product User & Community Expert
    Aurea2017Author
    Participating Frequently
    April 7, 2017

    I think the answer is: Dreamweaver CC 2017, html. Here's the coding for the rollover. The other event I have happening / not happening is the complete photo isn't showing up on screen, when in the tablet or mobile screens.

    .rollover-drag-md {

      float: left;

      margin-left: auto;

      margin-right: auto;

      width: 300px;

      height: 250px;

      display: block;

      background-image: url(Images/Roll_Drag.jpg)

    }

    Nancy OShea
    Community Expert
    Community Expert
    April 7, 2017

    Dreamweaver is software.  Where did you get the code?

    It does not look like it comes from either Bootstrap or Foundation frameworks but it looks vaguely like a framework.  Knowing which  framework you're using or where you got the code might shed some light on how you should proceed here.

    Nancy

    Nancy O'Shea— Product User & Community Expert