I am trying to remove the published date for a blog, that is shown on my home page. I have created a new template and tried to find the article.published_at code in the blog.liquid.But I am unable to find it anywhere. Any help would be much appreciated. I am also using the Venture theme.
Thanks
Solved! Go to the solution
Hi,
Follow this:
1. Go to Online Store->Theme->Edit code
2. Section->featured-articles.liquid-> find article.published_at and remove this span
Let me know if you need help
Then you can create alternate template for article and assign for this blog,
Create alternate template then create alternate section and remove date from this section and then assign this template to your blog.
Hi dhage and everyone,
Without chopping up code to remove the date, which will work. Goto
Online store >> themes >> use the 'actions' menu to choose 'edit-code' in your active / live theme
Then find the bold heading 'Assets" and click that to open file names
Choose 'themes.scss.liquid' and a wall of code text will open on the right
Scroll all the way to the bottom and add the below
/* remove the date */ .date { display: none !important; }
Save and the date is gone.
Maybe easier and less likely to make a mistake than editing the code, but the above solution will work too.
:)
User | Count |
---|---|
422 | |
208 | |
144 | |
56 | |
42 |