Add a CEWP in the page and then use the CSS class to achieve the hover effect. These images can also be made links.
There can be more than one image and put in a table format in CEWP
<table width="462" height="250" align="center" style="background-color: black"><tbody><tr><td style="width: 25%"><div class="example one"><div class="wrapper"><a href="#"><img src="<image url>" alt=""/></a> </div></div></td>
<td style="width: 25%"><div class="example two"><div class="wrapper"><a href="#"><img src="<image url>" alt=""/></a> </div></div></td>
<td style="width: 25%"><div class="example three"><div class="wrapper"><a href="#"><img src="<image url>" alt=""/></a> </div></div></td>
<td style="width: 25%"><div class="example four"><div class="wrapper"><a href="#"><img src="/<image url>" alt=""/></a> </div></div></td></tr></tbody></table>
The CSS is below
CSS Class
.example.one a {display:block; width:230px; height:125px; background:url('http://<imageurl>') left top no-repeat;}
.example.one a:hover img {position:absolute; left:-999em; top:-999em;}
.example.one a:hover {zoom:1;}
.example.one a:link img {border:none;}
.example.two a {display:block; width:230px; height:125px; background:url('http://<imageurl>') left top no-repeat;}
.example.two a:hover img {position:absolute; left:-999em; top:-999em;}
.example.two a:hover {zoom:1;}
.example.two a:link img {border:none;}
.example.three a {display:block; width:230px; height:125px; background:url('http://<imageurl>') left top no-repeat;}
.example.three a:hover img {position:absolute; left:-999em; top:-999em;}
.example.three a:hover {zoom:1;}
.example.three a:link img {border:none;}
.example.three a {display:block; width:230px; height:125px; background:url('http://<imageurl>') left top no-repeat;}
.example.four a:hover img {position:absolute; left:-999em; top:-999em;}
.example.four a:hover {zoom:1;}
.example.four a:link img {border:none;}
There can be more than one image and put in a table format in CEWP
<table width="462" height="250" align="center" style="background-color: black"><tbody><tr><td style="width: 25%"><div class="example one"><div class="wrapper"><a href="#"><img src="<image url>" alt=""/></a> </div></div></td>
<td style="width: 25%"><div class="example two"><div class="wrapper"><a href="#"><img src="<image url>" alt=""/></a> </div></div></td>
<td style="width: 25%"><div class="example three"><div class="wrapper"><a href="#"><img src="<image url>" alt=""/></a> </div></div></td>
<td style="width: 25%"><div class="example four"><div class="wrapper"><a href="#"><img src="/<image url>" alt=""/></a> </div></div></td></tr></tbody></table>
The CSS is below
CSS Class
.example.one a {display:block; width:230px; height:125px; background:url('http://<imageurl>') left top no-repeat;}
.example.one a:hover img {position:absolute; left:-999em; top:-999em;}
.example.one a:hover {zoom:1;}
.example.one a:link img {border:none;}
.example.two a {display:block; width:230px; height:125px; background:url('http://<imageurl>') left top no-repeat;}
.example.two a:hover img {position:absolute; left:-999em; top:-999em;}
.example.two a:hover {zoom:1;}
.example.two a:link img {border:none;}
.example.three a {display:block; width:230px; height:125px; background:url('http://<imageurl>') left top no-repeat;}
.example.three a:hover img {position:absolute; left:-999em; top:-999em;}
.example.three a:hover {zoom:1;}
.example.three a:link img {border:none;}
.example.three a {display:block; width:230px; height:125px; background:url('http://<imageurl>') left top no-repeat;}
.example.four a:hover img {position:absolute; left:-999em; top:-999em;}
.example.four a:hover {zoom:1;}
.example.four a:link img {border:none;}
Comments
Post a Comment