其他分享
首页 > 其他分享> > 微信公众号文章页面样式重置

微信公众号文章页面样式重置

作者:互联网

Desktop: Browser → DevTools → Elements → Console (Bottom), run:

document.getElementsByClassName("rich_media_area_primary_inner")[0].style="max-width:1280px";
document.querySelectorAll("pre").forEach(e => {e.removeAttribute("style");e.style="padding:1rem;background-color:#f7f7f7;font-family:menlo"});

标签:pre,style,Console,family,Bottom,微信,重置,document,页面
来源: https://www.cnblogs.com/crazygrass/p/wechat-article-page-format.html