• Resolved Skullsplitter

    (@skullsplitter)


    I am currently using the free version of easy2map. The pop-up marker description boxes are only displaying white text on a white background, so not visible. This may be due to the white text style used in the website. But when i try to change the colour using <span> code it has no effect. It doesn’t seem to recognise this HTML code, but does recognise basics like <H1> etc. Is there a way I can either change the colour of the text or the background colour of the description ones on my map…?

    https://ww.wp.xz.cn/plugins/easy2map/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author stevenellis

    (@stevenellis)

    Hi,

    Thanks for the message. We are adding basic styling to the infowindows in the new version (which will be released at the end of August). I know there are a few challenges involved in setting the background color of the infowindow, but we will definitely endeavor to make it customizable.

    Plugin Author stevenellis

    (@stevenellis)

    Hi,

    Another thing you can do is manually set the styling of text in the popup, with the ‘important’ CSS keyword, to overwrite any styling that is imposed on the page from the theme’s stylesheets.

    For example:
    <p style=”font-color: #000000 !important;font-size:16px”>This is text that appears in the marker</font>

    You can also put all text in a div, and set the div’s background color:

    <div id=”parent” style=”max-width:200px;background-color:#EBEBEB”>
    <h1>My popup heading here</h1>
    <p>My popup text here</p>
    </div>

    That will resolve the issue you’re having with white text displaying on the white background.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTML text colour’ is closed to new replies.