May 22, 2013, 09:32:43 PM

Login with username, password and session length

FORUM POSTING GUIDELINES - Please read and follow them.

Pages: [1]
  Print  
Author Topic: Removing image from infowindow  (Read 214 times)
Matthew Bayliss
Sr. Member
****
Offline Offline

Posts: 244


« on: June 19, 2012, 08:53:32 AM »

I thought I'd ask if there was a setting for this before I go butchering away at the theme files - so is there any way to remove the image from the info window? It's useful to have, but I don't currently have any images so it's just a blank space as seen here:

http://www.ukcasinoguide.com/london.html

I had a look through all the geomap settings but couldn't find anything.

If not, no worries I can just remove it from the code.
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 28391


« Reply #1 on: June 19, 2012, 09:05:57 AM »

You could use CSS something like .infowindow img {display:none;}. Can't remember the exact class name for the infowindow now or if it has an id.
Logged

http://www.reviewsforjoomla.com/testimonials Leave a testimonial for JReviews
Matthew Bayliss
Sr. Member
****
Offline Offline

Posts: 244


« Reply #2 on: June 19, 2012, 09:13:28 AM »

That works, thanks.

Also whilst we're on the subject, is there a way to change the width of the infowindow?
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 28391


« Reply #3 on: June 19, 2012, 10:08:07 AM »

If you use the google infowindow I think that should have variable width. For the others you may need to change the css and images for the call out one.
Logged

http://www.reviewsforjoomla.com/testimonials Leave a testimonial for JReviews
Matthew Bayliss
Sr. Member
****
Offline Offline

Posts: 244


« Reply #4 on: June 19, 2012, 10:11:10 AM »

It's the google infowindow, but I'm guessing it takes into account the width of the image that's now been hidden? Because the width is the same as before, but with a blank space about the size of the image on the right.
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 28391


« Reply #5 on: June 19, 2012, 10:23:00 AM »

Not sure, you can try forcing a different width via css or remove it altogether.
Logged

http://www.reviewsforjoomla.com/testimonials Leave a testimonial for JReviews
Matthew Bayliss
Sr. Member
****
Offline Offline

Posts: 244


« Reply #6 on: June 19, 2012, 10:29:59 AM »

Ok thanks, I'll just remove the image completely and see if that helps.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!