How can I remove the ‘back to blog’ button on the blogs
Topic summary
A user seeks to remove the ‘back to blog’ button from their Shopify blog pages.
Initial Solution Attempted:
- First response suggested adding CSS code
.article-template__back.element-margin-top.center{ display : none ;}to the base.css file via theme code editor - User reported this solution didn’t work, providing a screenshot showing the button still visible
Alternative Solution Provided:
- A different approach was offered: add
.article-template__back { display: none !important; }to the Custom CSS section in theme settings instead - The
!importantflag may override existing styles that prevented the first solution from working
Status: The issue remains unresolved pending user confirmation of whether the second CSS method successfully removes the button.
1 Like
Hi @User026 ,
Click on three dots → edit code → find base.css file.
Please add this css in base.css bottom of the file :
.article-template__back.element-margin-top.center{ display : none ;}
Please add this code to Custom CSS in theme settings to remove that button.
.article-template__back { display: none !important; }
Best regards,
Dan from Ryviu: Product Reviews App
1 Like
