Title: Error in Header-HTML
Last modified: May 6, 2021

---

# Error in Header-HTML

 *  Resolved [davidmueller](https://wordpress.org/support/users/wertepolitik/)
 * (@wertepolitik)
 * [5 years ago](https://wordpress.org/support/topic/error-in-header-html/)
 * Facebook cannot parse the Open Graph Data. The site’s HTML isn’t valid.
 * The error seems to be here:
 *     ```
       <style type=&quot;text/css&quot;>
           /* Banner */
           .page-title-section .page-title h1 {
               color: #fff;
           }/* Breadcrumb *//* Sidebar */
           body .sidebar .section-header .widget-title {
               color: #ffffff !important;
           }
   
           body .sidebar p {
               color: #64646d !important;
           }
   
           .sidebar a {
               color: #64646d !important;
           }/* Footer Widgets */
           .site-footer p {
               color: #fff;
           }
       ```
   
 * Please help!
    -  This topic was modified 5 years ago by [davidmueller](https://wordpress.org/support/users/wertepolitik/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-in-header-html%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [akhileshnagar](https://wordpress.org/support/users/akhileshnagar/)
 * (@akhileshnagar)
 * [5 years ago](https://wordpress.org/support/topic/error-in-header-html/#post-14406921)
 * Hi
    Thanks for contacting to us. We have little confusion regarding your query.
   Pls more clear about your query. So that we can assist you better.
 * Thanks
    Akhilesh Nagar
 *  Thread Starter [davidmueller](https://wordpress.org/support/users/wertepolitik/)
 * (@wertepolitik)
 * [5 years ago](https://wordpress.org/support/topic/error-in-header-html/#post-14406973)
 * Many thanks for the quick response.
 * I have the problem that Facebook can not read the Open Graph data. I reported
   this error to the author of the Plugin “The Seo Framework”. He wrote me that 
   the plugin works properly, but the HTML code of the site is faulty.
 * Anyway, what must be done that Facebook recognizes the Open Graph data?
 * Yours,
    David
 *  Thread Starter [davidmueller](https://wordpress.org/support/users/wertepolitik/)
 * (@wertepolitik)
 * [5 years ago](https://wordpress.org/support/topic/error-in-header-html/#post-14423838)
 * The HTML code I mentioned above is not properly closed with `/style`. How can
   this bug be fixed?
 *  [akhileshnagar](https://wordpress.org/support/users/akhileshnagar/)
 * (@akhileshnagar)
 * [5 years ago](https://wordpress.org/support/topic/error-in-header-html/#post-14425342)
 * Hi
    To fix the issue follow the given below instruction. 1 Find the custom_style.
   php file located in your spciepress parent theme folder >> \functions>>scripts
   folder find the file .
 * 2 Open the file and replace the code of it with the code mention in this [link](https://pastebin.com/ytF9mhLA).
 * Thanks
    Akhilesh
 *  Thread Starter [davidmueller](https://wordpress.org/support/users/wertepolitik/)
 * (@wertepolitik)
 * [5 years ago](https://wordpress.org/support/topic/error-in-header-html/#post-14425998)
 * THANK YOU !!!
 *  [akhileshnagar](https://wordpress.org/support/users/akhileshnagar/)
 * (@akhileshnagar)
 * [5 years ago](https://wordpress.org/support/topic/error-in-header-html/#post-14428913)
 * HI
    Glade to know that its resolve. Feel free for further assistant.
 * Thanks

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

The topic ‘Error in Header-HTML’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/chilly/1.5.2/screenshot.png)
 * Chilly
 * [Support Threads](https://wordpress.org/support/theme/chilly/)
 * [Active Topics](https://wordpress.org/support/theme/chilly/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/chilly/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/chilly/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [akhileshnagar](https://wordpress.org/support/users/akhileshnagar/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/error-in-header-html/#post-14428913)
 * Status: resolved