×

Notice

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

TOPIC: map width

map width 12 years 11 months ago #12085

  • NEIL BROPHY
  • NEIL BROPHY's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
How do I change hotspot map width.

Thx in advance

Neil

map width 12 years 11 months ago #12086

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The map always take 100% of the available space in your template. So if you have 500px available it will take 500px. What is exactly the problem?

map width 12 years 11 months ago #12089

  • NEIL BROPHY
  • NEIL BROPHY's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hi Daniel.

The problem lies here.
www.backpackernights.com/

I have the 3 utility modules set in gantry with width devided into 12 with a ratio of 3 6 3 (6 being the map module)

I get overlapping?

Any Ideas.

Cheers

Neil

map width 12 years 11 months ago #12090

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Neil,
Are you sure that you want to show the map this way? If I have to fight with that small map on your website, then I'll most probably just leave...
Anyway you can try to add this css class to your file
.component-content {
width: 450px;
}

But this is most probably a bad idea, because then everywhere on your page .component-content will have the size of 450px.

map width 12 years 11 months ago #12091

  • NEIL BROPHY
  • NEIL BROPHY's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Thanks for the advice, I am just setting it up as an ideas page to hand over to the pro's :)

I am new to this world, can you please tel me:
"Anyway you can try to add this css class to your file "

where I find the file and where in the file do I place:
.component-content {
width: 450px;
}
Thanks
Neil

map width 12 years 11 months ago #12092

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
add it for example to the end of this file:
media/com_hotspots/css/hotspots.css

map width 12 years 11 months ago #12116

  • NEIL BROPHY
  • NEIL BROPHY's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
thx,

did the job.

Neil
  • Page:
  • 1
Time to create page: 0.120 seconds