最近搜索


没有最近搜索

Liliana Lopez's Avatar

Liliana Lopez

已加入2021年5月28日

·

最后活动2021年10月27日

关注

0

关注者

0

活动总数

3

投票

0

订阅

1

活动概览

的最新活动 Liliana Lopez

Liliana Lopez 进行了评论,

社区评论 Discussion - Tips and best practices from the community

@wes, Never mind! :) 

查看评论 · 已于 2018年10月02日 发布 · Liliana Lopez

0

关注者

0

投票

0

评论


Liliana Lopez 进行了评论,

社区评论 Discussion - Tips and best practices from the community

@Wes, Hello Wes!

I am using Copenhagen theme and I am trying to get your code to work but I am running into an issue.

This is what I've done-
1. Added this to my section_page HTML-

2. Added this to my CSS-
.cat-page .article-list li:nth-child(n+4) {
display: none;
}

The outcome is-
Original number of articles is listed (6) plus the link to see "all articles", and on the section page, I only see three articles.

If I use the following-


.article-list li:nth-child(n+4) {
display: none;
}

and remove the section class from section_page HTML (

), I see only three articles listed, and the same on section page.

Any idea why this is not working for me?

Thanks for your help.

查看评论 · 已于 2018年10月02日 发布 · Liliana Lopez

0

关注者

0

投票

0

评论