Remove date from blog feature from section on home page

Highlighted
New Member
5 0 0

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

0 Likes
Highlighted
Shopify Expert
3553 543 844

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

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
New Member
5 0 0

Hi There,

I created a new feature-article.liqud section that has the article.published_at span removed. How do I apply this section to the home page? As I am only wanting it removed from one blog section. Thanks

0 Likes
Highlighted
Shopify Expert
3553 543 844

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.

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
New Member
1 0 0

Hi, 

Can you help me understand which part to delete? I don't want the date to show at all.

 

<p>
<span class="date"><time datetime="{{ article.published_at | date: '%Y-%m-%dT%H:%M:%SZ' }}">{{ article.published_at | date: format: 'date' }}</time></span>
</p>
</header>

0 Likes
Highlighted

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.

:)

Dan 'the web man' | Shopify Partner
If this was helpful then please Like and let me know!
If this answered your question click Accept as Solution
Want to modify or make custom changes on your store? I'm available for hire!
Secure Email: See https://dans-development-store.myshopify.com
0 Likes