Sitemap CSS injection
-
Your plugin is injecting CSS into my PAGES sitemap only and this does not make sense. I have had a SR. developer look into the code and you need to strip your CSS from sitemap pages. There currently is not a way to block or stop your style plugin from showing on certain pages. PLEASE FIX ASAP! This is causing issue with SEO and we are loosing money because of it.
-
view-source:https://www.myhomeenvy.com/sitemaps/page-sitemap1.xml
https://www.myhomeenvy.com/sitemaps/page-sitemap1.xml
I have tried everything to stop the CSS infections for every line. I have not been successful.
Here is the code:
<url> <loc>https://www.myhomeenvy.com/</loc> <lastmod>2021-04-19T10:42:38-05:00</lastmod></url><style type="text/css">body #gform_wrapper_1 .gform_heading {border-style: solid;border-width: 0px;}body #gform_wrapper_1 .gform_heading .gform_title {color:#ffffff;margin-top:0px;margin-bottom:0px;}body #gform_wrapper_1 .gform_footer .gform_button {border-style: solid;background-color:#45a23d;border-radius:0px;-web-border-radius:0px;-moz-border-radius:0px;padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0px;border-width: 0px;}body #gform_wrapper_1 .gform_page_footer .gform_button{border-style: solid;background-color:#45a23d;border-radius:0px;-web-border-radius:0px;-moz-border-radius:0px;padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0px;border-width: 0px;}body #gform_wrapper_1 .gform_page_footer .gform_button:hover {border-style: solid;background-color:#273474;}body #gform_wrapper_1 .gform_footer .gform_button:hover {border-style: solid;background-color:#273474;}body #gform_wrapper_1 .gform_footer button.mdc-button {background-color:#45a23d;border-radius:0px;-web-border-radius:0px;-moz-border-radius:0px;padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0px;border-width: 0px;}body #gform_wrapper_1 .gform_footer button.mdc-button:hover {background-color:#273474;}body #gform_wrapper_1 .gform_footer {text-align:center;}body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=text],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=email],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=tel],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=url],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=password],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=number]{height:50px;color:#000000;margin-left:5px;margin-right:5px;margin-top:5px;margin-bottom:5px;max-width:100%;border-width: 1px;}body #gform_wrapper_1 .gform_body .gform_fields .gfield textarea {border-width: 1px;color:#000000;}body #gform_wrapper_1 .gform_body .gform_fields .gfield .gfield_label {color:#000000;display:none ;}body #gform_confirmation_message_1 {color:#ffffff;border-width:4px;border-style:solid;padding-left:30px;}body #gform_wrapper_1 .gform_body .gform_page_footer .gform_next_button {border-style: solid;background: #45a23d;border-radius: 0px;-web-border-radius: 0px;-moz-border-radius: 0px;}body #gform_wrapper_1 .gform_body .gform_page_footer .gform_next_button:hover {background: #273474;}body #gform_wrapper_1 .gform_body .gform_page_footer .gform_previous_button {background: #45a23d;border-radius: 0px;-web-border-radius: 0px;-moz-border-radius: 0px;}body #gform_wrapper_1 .gform_body .gform_page_footer .gform_previous_button:hover {background: #273474;}body #gform_wrapper_1 .gform_body .gform_page_footer .gform_button {background: #45a23d;border-radius: 0px;-web-border-radius: 0px;-moz-border-radius: 0px;}body #gform_wrapper_1 .gform_body .gform_page_footer .gform_button:hover {background:#273474;}/* Styling for Tablets */@media only screen and ( max-width: 800px ) and ( min-width:481px ) {body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=text],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=email],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=tel],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=url],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=password] {height:50px;}}/* Styling for phones */@media only screen and ( max-width: 480px ) {body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=text],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=email],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=tel],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=url],body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=password] {height:35px;} }/*Option to add custom CSS */</style> <url>
-
This reply was modified 3 years, 11 months ago by
jelpers2020.
-
This reply was modified 3 years, 11 months ago by
jelpers2020.
I found that you are posting your CSS/injecting your CSS onto every “page” and that includes my “Page” sitemap. I think you should not be injecting your code onto EVERY page of my website and focus on the form itself.
I have been looking into this issue but unable to replicate it at my end.
The sitemap links you sent… don’t seem to have this issue when I checked the source code. Seems like the issue happens at random?
-
This reply was modified 3 years, 11 months ago by
- The topic ‘Sitemap CSS injection’ is closed to new replies.