Forum: Premium Settings

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Premium Settings premium extension please open a new premium support ticket.

[Waiting for user confirmation]Modifying the info box in the results map

Home Forums Premium Settings Modifying the info box in the results map

This topic contains 5 replies, has 4 voices, and was last updated by  victorr 1 year, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #35500

    Jo Macdermott
    Participant

    Hi,

    I’m trying to customise the info box for the markers in the results map.

    Is there anyway to have the width and height automatically adjust to the content of the info box.  Currently its far too big, I’d like it to work for each set of details.

    Thanks

     

    #35808

    Eyal Fitoussi
    Keymaster

    Hello Jo,
    The info box is a bit tricky to work with and is not easily customizable.
    I initial tried to have the infobox automatically resized based on its content but without success.

    You can easily set the maximum width of the info-box using CSS. Would that be a good solution for you?

    #36305

    Jo Macdermott
    Participant

    Thanks Eyal, the content doesn’t differ so much, so maximum width is a pretty good fix.

    #36314

    Eyal Fitoussi
    Keymaster

    You are welcome.

    Try adding the below to the stylesheet of your theme/child theme:

    You can change 200px to any value as you wish.

    Let me know if that help.

    #45554

    Jakub Gardner
    Participant

    I want to ask you in this topic about modyfying info box..

    Can I change in css distance info box from the marker on the map ?

    Currently I chenage css :

    And it looks preetty nice, but because I changed height from 200 to 280 px now the starting point of the box is too low – the arrow edge is 80 px below marker on the map..

    – you can see it on index http://omp.oop.org.pl/

    #57009

    victorr
    Participant

    Hi Eyal,

    I´m trying to customize the info box as you suggest, with css in the style.css, but there are no changes in the appearence when I try it. Is it necessary to activate any other option of the plugin to do this?

    A lot of thanks,

    Victor

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.