Create a new
article_transparent.css
file in the\themes\butterfly\source\css
directory and add the following:1/* Homepage article section background transparency */ 2#recent-posts>.recent-post-item,.layout_page>div:first-child:not(.recent-posts),.layout_post>#page,.layout_post>#post,.read-mode .layout_post>#post { 3 background: var(--light_bg_color) 4} 5 6/* Sidebar transparency */ 7#aside-content .card-widget { 8 background: var(--light_bg_color) 9}
In the theme configuration file
_config.butterfly.yml
, underinject
, directly introduce thecss
file in thehead
section.1- <script src="/css/article_transparent.js"></script>
💬Discussion