{"id":19015913,"date":"2026-09-09T19:04:27","date_gmt":"2026-09-09T19:04:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/language-specific-css\/"},"modified":"2026-09-09T19:04:27","modified_gmt":"2026-09-09T19:04:27","slug":"language-specific-css","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/language-specific-css\/","title":{"rendered":"Language-specific CSS"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">My site&#8217;s navigation menu fits its container in most languages &#8211; English, Spanish, French, Chinese &#8211; but in a couple of languages the translated words\/phrases are much longer, causing layout issues &#8211; Filipino and German in particular.  Is there a way that I could add a custom CSS\/styles to the nav just for those languages?  I was hoping to see a body class or something similar but I don&#8217;t believe there is one.  Thank you for a quality plugin!<\/p>\n","protected":false},"template":"","class_list":["post-19015913","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19015913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19015913\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19015913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}