Okay
  Public Ticket #270525
map element errors
Closed

Comments

  • Calin started the conversation

    Hi,

    I`m using the map element in my contact page (link above).

    Problem is, since 2-3 days ago when your support logged into my site to make some changes, the map marker does not show and the color I set for the map (grey) is ignored and it reverts to the accent color (red).

  • Gordon replied

    Not sure posting your log in details on a public forum is a good idea??

  •   Calin replied privately
  • Calin replied

    Thanks! I taught I've set this to Private. Anyway, maybe someone else will have this problem and it will be useful

  •  8,839
    Tahir replied

    Hey!

    Please update to Salient Theme Version 4.5.21. Which has the map marker bugfix.

    Please take a backup of your theme folder before you update so that if there are any changes made to the theme files they are not lost.
    You can update your theme by downloading a fresh copy from ThemeForest, deleting the current version you have on your server and uploading the new.
    It's recommended that you use FTP, but this also can be done with the WP dashboard if you prefer. The reason FTP is superior for this is because the theme won't have to be deactivated during the process so you won't have to reassign your widgets. If you're
    interested in keeping up to date with the latest changes and fixes, please refer to the changelog: http://themenectar.com/changelogs/salient.html
    Also, remember to clear your browser cache after each update if you notice anything off. Old theme files can persist in your local cache and make you think something's wrong.
    Also please see this FAQ: http://themenectar.ticksy.com/faq/2252 .

    Thanks


    ThemeNectar Support Team 

  • Calin replied

    Hi,

    I've updated the theme but one problem remains. I've checked the grayscale box in the map element options and i`ve set the map extra color to a darker grey. However, the map ignores this setting and applies the accent color (red) to my map. How do i fix this?

    Thanks

  •  1,070
    ThemeNectar replied

    Hey Calin, the extra color option in the map isn't capable of making the map into a dark version of itself if that's what you're trying to do - for that you'd need to mod the map.js file located in the js folder at these lines:

    {
    	featureType: "landscape",
    	stylers: [{
    		color: "#ffffff"
    	}]
    	}, 
    {
    	featureType: "road",
    	elementType: "geometry.fill",
    	stylers: [ {
    		color: "#f1f1f1"
    	}]
    }, 
    

    Cheers

  • Calin replied

    Got it. Thanks!