• Resolved lynxlynxlynx

    (@lynxlynxlynx)


    Hey, this should be the ultimate or penultimate post from my update adventures.

    When resaving maps with the new version of the plugin, a new style tag gets inlined before the map data hash on the page. It has precedence over the Custom CSS setting, so our font override stopped working. Otherwise I’d probably not even notice.

    Commenting out the style output at modules/shortcode/views/put-wpgmp.php:2219 works around the problem.

    Not sure where map_all_control[fc_custom_styles] gets populated, since it’s just a hidden input in the settings form and the content of the generated css is a mistery. So my question is where are these css settings from, so I can just delete them instead of needing to hack the code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ashok Singh

    (@flippercode0505)

    Hello,

    The map_all_control[fc_custom_styles] option is generated from the Edit Map page.

    To access this option, please follow these steps:

    1. Log in to the site backend.
    2. Edit your map.
    3. Locate the “Infowindow Message for Location” accordion and open it.
    4. On the right side, you’ll see a generated dummy infowindow displayed.
    5. Click on the title to open a pop-up, where you can update custom styles for the infowindow.

    This styling pop-up is also available for the “Infowindow Message for Post” and “Listing Item Skin” sections. The map_all_control[fc_custom_styles] generated from these options.

    Best Regards

    Thread Starter lynxlynxlynx

    (@lynxlynxlynx)

    Thanks, so I guess that’s a “no” — I can’t remove them. Curiously I don’t even have any elements with the fc-main class (the wrapper from the default).

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

The topic ‘Odd new inline styles ruining custom css’ is closed to new replies.