Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1409738

    Hi is there a way to change the circle into a location marker? – for example like google maps.

    Thank you for helping!

    #1409815

    Hey Stefan,

    Thank you for the inquiry.

    Yes, this should be possible with CSS modifications. Please add the following code to the Quick CSS field:

    .av-hotspot-container-inner-wrap .av-image-hotspot:nth-child {
        width: 20px;
        height: 20px;
    }
    
    .av-hotspot-container-inner-wrap .av-image-hotspot:nth-child(1) .av-image-hotspot_inner {
        background: red;
    }

    The first CSS rule adjusts the size of the hotspots, and you can modify the width and height values as needed. The second rule applies a different background color (red in this case) to the first hotspot. If you want to use an image as the background, you can replace the background property with the appropriate CSS code for setting a background image.

    For more information on working with background images in CSS, you can refer to the following resource: https://www.w3schools.com/cssref/pr_background-image.php

    Feel free to customize the code according to your specific requirements. Let us know if you have any further questions or need additional assistance.

    Best regards,
    Ismael

    #1409963

    Hi Ismael,

    this solution doesn’t work. Now i have a transparent circle instead.

    Itried this way:

    .av-hotspot-container-inner-wrap .av-image-hotspot:nth-child {
    width: 20px;
    height: 20px;
    }

    .av-hotspot-container-inner-wrap .av-image-hotspot:nth-child(1) .av-image-hotspot_inner {
    background-image: url(“https://test.s-design.tirol/Salzraum/wp-content/uploads/fahne.png”);
    }

    In privat content is the link to my test site, so you can see what i mean.

    #1410034

    Hi,

    Thank you for the update.

    The image is not displaying correctly because it a little bit larger than the hotspot container. To fix the issue, you may need to specify the background-size property.

    .av-hotspot-container-inner-wrap .av-image-hotspot:nth-child(1) .av-image-hotspot_inner {
        background-image: url("https://test.s-design.tirol/Salzraum/wp-content/uploads/fahne.png");
        background-size: contain;
    }

    Best regards,
    Ismael

    #1410036

    great, now it works. But is there also a way to hide the transparent circle and the pulsing animation?

    #1410166

    Hi,
    Thanks for the link to your page, I don’t see a pulsing animation for the hotspots so I assume that you figureed that out, but your flag image doesn’t have a transparent background, so if you want it to you will need to change the image:
    Enfold_Support_2298.jpeg

    Best regards,
    Mike

    #1410335

    sorry, i don’t understand. The flag is a .png file with transparent background.

    I don’t know from where the circle comes. It should just the flag shown as overlay of the city map to point the specific house.

    Another question is, how can i remove the number “1” oft the hotspot?

    #1410367

    Hi,
    True that the flag is a PNG but it doesn’t have a transparent background, please check in a image editor.
    When I check in my image editor the background is white & gray boxes:
    Enfold_Support_2334.jpeg
    this is a PNG that does have a transparent background:
    Enfold_Support_2336.jpeg
    Perhaps you have a version of this on your computer that dose have a transparent background, but the on on your website is not, try downgrading it and checking
    To hide the numbers try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top .av-hotspot-image-container .av-image-hotspot .av-image-hotspot_inner {
        color: transparent;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1410445

    Hi,
    there is a worm inside.

    Now i have a new pic (vector pic exported from illustrator as .png with transparent background) but it seems anythig is wrong in css.

    .av-hotspot-container-inner-wrap .av-image-hotspot:nth-child {
    width: 40px;
    height: 40px;
    }

    .av-hotspot-container-inner-wrap .av-image-hotspot:nth-child(1) .av-image-hotspot_inner {
    background-image: url(“https://test.s-design.tirol/Salzraum/wp-content/uploads/2023/06/salzraumfahne-40.png”);
    background-size: contain;
    }

    .av-image-hotspot-pulse {
    display: none !important;
    }

    Thank you for helping!

    #1410485

    Hi,
    Try adding
    background-color: transparent;
    color: transparent;

    like this:

    .av-hotspot-container-inner-wrap .av-image-hotspot:nth-child(1) .av-image-hotspot_inner {
    background-image: url("https://test.s-design.tirol/Salzraum/wp-content/uploads/2023/06/salzraumfahne-40.png");
    background-size: contain;
    background-color: transparent;
    color: transparent;
    }
    

    Best regards,
    Mike

    #1410577

    great, with !important it works ;-)

    #1410614

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘change hotspot symbol’ is closed to new replies.