Store Locator Plus for WordPress
[resolved] Changing background color of info window (4 posts)

  1. smaentz
    Posted 3 years ago #

    I need to be able to change the background color of the info window that appears when you click on a map marker. Reason is that all my site text is white as I use a black background. So, I need to change the info window background to black in order to read the white store info text.


    I have the Pro pack, so I could enter custom CSS if provided with the code. Thanks!


  2. Store Locator Plus
    Plugin Author

    Posted 3 years ago #

    div#map div div div div div div {
    background-color: black;


    div#map div div div div div div {
    color: black;

    The 2nd option will only change the font color to the default black-on-white, BUT it will not work on your theme because your theme uses !important on the font color for the main container (!important is NOT a good idea and should be avoided if at all possible).

  3. smaentz
    Posted 3 years ago #

    Thanks, but option 1 changes the entire map to black so you no longer see the map. Is there code to change only the info window?

  4. smaentz
    Posted 3 years ago #

    My developer fixed the problem. He added CSS code to override the info window's text directly, applying the styles to the theme's stylesheet.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Store Locator Plus for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.