×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Change Height of Div Overlay

Change Height of Div Overlay 13 years 9 months ago #11735

  • Ryan
  • Ryan's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
Hello All,

Does anyone know how I can change the height of the DIV Overlay in HotSpots? At the moment ot is showing as 230 px and I would like to bring it down to about 150 px.

Thanks,
Ryan

Change Height of Div Overlay 13 years 9 months ago #11736

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Ryan,
Go to components/com_hotspots/views/all/default.php and find
<div id="map_overlay_cont" style="background: url('media/com_hotspots/images/utils/<?php echo $map_overlay_bg; ?>') repeat; border-top: <?php echo $map_overlay_border; ?>; <?php if (HotspotsHelper::getSettings('map_overlay_div', 1) == 0) { echo " display: none;"; } ?>">
change it to
<div id="map_overlay_cont" style="height: 100px; background: url('media/com_hotspots/images/utils/<?php echo $map_overlay_bg; ?>') repeat; border-top: <?php echo $map_overlay_border; ?>; <?php if (HotspotsHelper::getSettings('map_overlay_div', 1) == 0) { echo " display: none;"; } ?>">
for example.

This should do the trick.
Daniel

Change Height of Div Overlay 13 years 9 months ago #11737

  • Ryan
  • Ryan's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
Thanks Mate!

I'll give that a try as soon as I get home tonight.

Regards,
Ryan
  • Page:
  • 1
Time to create page: 0.097 seconds